aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/Exceptions/UndefinedInstructionException.cs
blob: dfbd6c272b110ce76c8b77d3df4adc17b89c98a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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(ulong address, int opCode) : base(string.Format(ExMsg, address, opCode)) { }
    }
}