UndefinedInstructionException.cs
1 using System; 2 3 namespace Ryujinx.HLE.Exceptions 4 { 5 public class UndefinedInstructionException : Exception 6 { 7 private const string ExMsg = "The instruction at 0x{0:x16} (opcode 0x{1:x8}) is undefined!"; 8 9 public UndefinedInstructionException() : base() { } 10 11 public UndefinedInstructionException(ulong address, int opCode) : base(string.Format(ExMsg, address, opCode)) { } 12 } 13 }