2018-02-10 17:20:46 +00:00
|
|
|
using System;
|
|
|
|
|
2018-08-16 23:47:36 +00:00
|
|
|
namespace Ryujinx.HLE.Exceptions
|
2018-02-10 17:20:46 +00: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-05 00:52:39 +00:00
|
|
|
public UndefinedInstructionException(long Position, int OpCode) : base(string.Format(ExMsg, Position, OpCode)) { }
|
2018-02-10 17:20:46 +00:00
|
|
|
}
|
|
|
|
}
|