2018-02-10 18:20:46 +01:00
|
|
|
using System;
|
|
|
|
|
2018-02-20 21:09:23 +01:00
|
|
|
namespace Ryujinx.Core.OsHle.Exceptions
|
2018-02-10 18:20:46 +01:00
|
|
|
{
|
|
|
|
public class UndefinedInstructionException : Exception
|
|
|
|
{
|
|
|
|
private const string ExMsg = "The instruction at 0x{0:x16} (opcode 0x{1:x8}) is undefined!";
|
|
|
|
|
|
|
|
public UndefinedInstructionException() : base() { }
|
|
|
|
|
|
|
|
public UndefinedInstructionException(long Position, int OpCode) : base(string.Format(ExMsg, Position, OpCode)) { }
|
|
|
|
}
|
|
|
|
}
|