1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-24 16:32:02 +00:00
Ryujinx/Ryujinx.HLE/OsHle/Exceptions/UndefinedInstructionException.cs

13 lines
414 B
C#
Raw Normal View History

using System;
namespace Ryujinx.HLE.OsHle.Exceptions
{
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)) { }
}
}