aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Exceptions/UndefinedInstructionException.cs
blob: 24bf9efdde654439384c48c21146c3194f1ace5a (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(long Position, int OpCode) : base(string.Format(ExMsg, Position, OpCode)) { }
    }
}