diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-02-09 02:24:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 02:24:32 +0100 |
commit | ec8d4f3af5d951776ab9d494ca1c5cae7809c08f (patch) | |
tree | d8d4d9deb25bbbea422ea5bc09a63dc31ed8dc1f /Ryujinx.Tests/Cpu/CpuTestThumb.cs | |
parent | b3f0978869c7b621bf1c62ea6a8fc51f1e3a5c24 (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/Cpu/CpuTestThumb.cs')
-rw-r--r-- | Ryujinx.Tests/Cpu/CpuTestThumb.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Tests/Cpu/CpuTestThumb.cs b/Ryujinx.Tests/Cpu/CpuTestThumb.cs index da7c6e92..b740f524 100644 --- a/Ryujinx.Tests/Cpu/CpuTestThumb.cs +++ b/Ryujinx.Tests/Cpu/CpuTestThumb.cs @@ -142,10 +142,10 @@ namespace Ryujinx.Tests.Cpu Assert.That(GetContext().GetX(1), Is.EqualTo(w1 ^ w2)); break; case 2: - Assert.That(GetContext().GetX(1), Is.EqualTo(shift >= 32 ? 0 : (uint)(w1 << (int)shift))); + Assert.That(GetContext().GetX(1), Is.EqualTo(shift >= 32 ? 0 : w1 << (int)shift)); break; case 3: - Assert.That(GetContext().GetX(1), Is.EqualTo(shift >= 32 ? 0 : (uint)(w1 >> (int)shift))); + Assert.That(GetContext().GetX(1), Is.EqualTo(shift >= 32 ? 0 : w1 >> (int)shift)); break; case 4: Assert.That(GetContext().GetX(1), Is.EqualTo(shift >= 32 ? (uint)((int)w1 >> 31) : (uint)((int)w1 >> (int)shift))); |