aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Tests.Unicorn/UnicornException.cs
diff options
context:
space:
mode:
authorTSRBerry <20988865+TSRBerry@users.noreply.github.com>2023-02-09 02:24:32 +0100
committerGitHub <noreply@github.com>2023-02-09 02:24:32 +0100
commitec8d4f3af5d951776ab9d494ca1c5cae7809c08f (patch)
treed8d4d9deb25bbbea422ea5bc09a63dc31ed8dc1f /Ryujinx.Tests.Unicorn/UnicornException.cs
parentb3f0978869c7b621bf1c62ea6a8fc51f1e3a5c24 (diff)
Replace unicorn bindings with Nuget package (#4378)1.1.611
* Replace unicorn bindings with Nuget package * Use nameof for ValueSource args * Remove redundant code from test projects * Fix wrong values for EmuStart() Add notes to address this later again * Improve formatting * Fix formatting/alignment issues
Diffstat (limited to 'Ryujinx.Tests.Unicorn/UnicornException.cs')
-rw-r--r--Ryujinx.Tests.Unicorn/UnicornException.cs24
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