1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-27 14:12:02 +00:00
Ryujinx/Ryujinx.HLE/Exceptions/UndefinedInstructionException.cs
2018-12-01 14:03:56 -06:00

13 lines
No EOL
408 B
C#

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() { }
public UndefinedInstructionException(long position, int opCode) : base(string.Format(ExMsg, position, opCode)) { }
}
}