0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-29 02:45:49 +00:00
ryujinx-fork/Ryujinx.Core/OsHle/Exceptions/UndefinedInstructionException.cs

13 lines
No EOL
415 B
C#

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