2018-02-10 14:20:46 -03:00
|
|
|
using System;
|
|
|
|
|
2018-08-16 20:47:36 -03:00
|
|
|
namespace Ryujinx.HLE.Exceptions
|
2018-02-10 14:20:46 -03:00
|
|
|
{
|
|
|
|
public class UndefinedInstructionException : Exception
|
|
|
|
{
|
|
|
|
private const string ExMsg = "The instruction at 0x{0:x16} (opcode 0x{1:x8}) is undefined!";
|
|
|
|
|
|
|
|
public UndefinedInstructionException() : base() { }
|
|
|
|
|
2018-12-06 05:16:24 -06:00
|
|
|
public UndefinedInstructionException(long position, int opCode) : base(string.Format(ExMsg, position, opCode)) { }
|
2018-02-10 14:20:46 -03:00
|
|
|
}
|
|
|
|
}
|