Ryujinx/Ryujinx.HLE/Exceptions/UndefinedInstructionException.cs

13 lines
408 B
C#
Raw Normal View History

using System;
namespace Ryujinx.HLE.Exceptions
{
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-01 21:01:59 +01:00
public UndefinedInstructionException(long position, int opCode) : base(string.Format(ExMsg, position, opCode)) { }
}
}