diff options
Diffstat (limited to 'Ryujinx.Tests.Unicorn/UnicornException.cs')
-rw-r--r-- | Ryujinx.Tests.Unicorn/UnicornException.cs | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Ryujinx.Tests.Unicorn/UnicornException.cs b/Ryujinx.Tests.Unicorn/UnicornException.cs deleted file mode 100644 index b5c5f980..00000000 --- a/Ryujinx.Tests.Unicorn/UnicornException.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Ryujinx.Tests.Unicorn.Native.Const; -using System; -using System.Runtime.InteropServices; - -namespace Ryujinx.Tests.Unicorn -{ - public class UnicornException : Exception - { - public readonly Error Error; - - internal UnicornException(Error error) - { - Error = error; - } - - public override string Message - { - get - { - return Marshal.PtrToStringAnsi(Native.Interface.uc_strerror(Error)); - } - } - } -}
\ No newline at end of file |