diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-05 21:07:17 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-05 21:07:19 +0200 |
commit | 1a45b15a8c29421756524139845ff28a7f5b6e34 (patch) | |
tree | 6629e219672455429a8f49eedeaddf9385feb0a8 /src/core/hle/kernel/address_arbiter.cpp | |
parent | Merge pull request #4466 from ogniK5377/loader-type-safe (diff) | |
download | yuzu-1a45b15a8c29421756524139845ff28a7f5b6e34.tar yuzu-1a45b15a8c29421756524139845ff28a7f5b6e34.tar.gz yuzu-1a45b15a8c29421756524139845ff28a7f5b6e34.tar.bz2 yuzu-1a45b15a8c29421756524139845ff28a7f5b6e34.tar.lz yuzu-1a45b15a8c29421756524139845ff28a7f5b6e34.tar.xz yuzu-1a45b15a8c29421756524139845ff28a7f5b6e34.tar.zst yuzu-1a45b15a8c29421756524139845ff28a7f5b6e34.zip |
Diffstat (limited to 'src/core/hle/kernel/address_arbiter.cpp')
-rw-r--r-- | src/core/hle/kernel/address_arbiter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/address_arbiter.cpp b/src/core/hle/kernel/address_arbiter.cpp index df0debe1b..b882eaa0f 100644 --- a/src/core/hle/kernel/address_arbiter.cpp +++ b/src/core/hle/kernel/address_arbiter.cpp @@ -81,7 +81,7 @@ ResultCode AddressArbiter::IncrementAndSignalToAddressIfEqual(VAddr address, s32 do { current_value = monitor.ExclusiveRead32(current_core, address); - if (current_value != value) { + if (current_value != static_cast<u32>(value)) { return ERR_INVALID_STATE; } current_value++; |