diff options
| author | Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com> | 2022-12-10 15:21:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-10 21:21:13 +0100 |
| commit | 851d81d24ab437bbe552a085cdd3caad6f4a1867 (patch) | |
| tree | f86c541e454757fafdd67a6fcca9ec5234ecfdff /Ryujinx.Tests.Unicorn | |
| parent | 459c4caebac0bc16c04467d9dcd2ef7a9fc0bd92 (diff) | |
Fix Redundant Qualifer Warnings (#4091)
* Fix Redundant Qualifer Warnings
* Remove unnecessary using
Diffstat (limited to 'Ryujinx.Tests.Unicorn')
| -rw-r--r-- | Ryujinx.Tests.Unicorn/UnicornAArch32.cs | 6 | ||||
| -rw-r--r-- | Ryujinx.Tests.Unicorn/UnicornAArch64.cs | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Ryujinx.Tests.Unicorn/UnicornAArch32.cs b/Ryujinx.Tests.Unicorn/UnicornAArch32.cs index 8b3e79b6..3b8c1699 100644 --- a/Ryujinx.Tests.Unicorn/UnicornAArch32.cs +++ b/Ryujinx.Tests.Unicorn/UnicornAArch32.cs @@ -122,14 +122,14 @@ namespace Ryujinx.Tests.Unicorn { if (!_isDisposed) { - Interface.Checked(Native.Interface.uc_close(uc)); + Interface.Checked(Interface.uc_close(uc)); _isDisposed = true; } } public void RunForCount(ulong count) { - Interface.Checked(Native.Interface.uc_emu_start(uc, this.PC, 0xFFFFFFFFFFFFFFFFu, 0, count)); + Interface.Checked(Interface.uc_emu_start(uc, this.PC, 0xFFFFFFFFFFFFFFFFu, 0, count)); } public void Step() @@ -222,7 +222,7 @@ namespace Ryujinx.Tests.Unicorn { byte[] data = new byte[4]; - Interface.Checked(Native.Interface.uc_reg_read(uc, (int)register, data)); + Interface.Checked(Interface.uc_reg_read(uc, (int)register, data)); return (uint)BitConverter.ToInt32(data, 0); } diff --git a/Ryujinx.Tests.Unicorn/UnicornAArch64.cs b/Ryujinx.Tests.Unicorn/UnicornAArch64.cs index 5cd5f88c..1784e7df 100644 --- a/Ryujinx.Tests.Unicorn/UnicornAArch64.cs +++ b/Ryujinx.Tests.Unicorn/UnicornAArch64.cs @@ -111,14 +111,14 @@ namespace Ryujinx.Tests.Unicorn { if (!_isDisposed) { - Interface.Checked(Native.Interface.uc_close(uc)); + Interface.Checked(Interface.uc_close(uc)); _isDisposed = true; } } public void RunForCount(ulong count) { - Interface.Checked(Native.Interface.uc_emu_start(uc, this.PC, 0xFFFFFFFFFFFFFFFFu, 0, count)); + Interface.Checked(Interface.uc_emu_start(uc, this.PC, 0xFFFFFFFFFFFFFFFFu, 0, count)); } public void Step() @@ -241,7 +241,7 @@ namespace Ryujinx.Tests.Unicorn { byte[] data = new byte[8]; - Interface.Checked(Native.Interface.uc_reg_read(uc, (int)register, data)); + Interface.Checked(Interface.uc_reg_read(uc, (int)register, data)); return (ulong)BitConverter.ToInt64(data, 0); } |
