summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorGravatar Fernando S2022-03-01 22:50:52 +0100
committerGravatar GitHub2022-03-01 22:50:52 +0100
commite06a1337178cc203fff1b92aaca499b74c77437f (patch)
tree008c01b1b489e9526667534458683e98d7eb85b8 /src/core/hle/kernel
parentMerge pull request #7967 from zhaobot/tx-update-20220301023432 (diff)
parentdynarmic: Update to latest master (diff)
downloadyuzu-e06a1337178cc203fff1b92aaca499b74c77437f.tar.gz
yuzu-e06a1337178cc203fff1b92aaca499b74c77437f.tar.xz
yuzu-e06a1337178cc203fff1b92aaca499b74c77437f.zip
Merge pull request #7959 from merryhime/cmpxchg
dynarmic: Inline exclusive memory accesses
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/k_address_arbiter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_address_arbiter.cpp b/src/core/hle/kernel/k_address_arbiter.cpp
index 783c69858..1d1f5e5f8 100644
--- a/src/core/hle/kernel/k_address_arbiter.cpp
+++ b/src/core/hle/kernel/k_address_arbiter.cpp
@@ -49,7 +49,7 @@ bool DecrementIfLessThan(Core::System& system, s32* out, VAddr address, s32 valu
49 } 49 }
50 } else { 50 } else {
51 // Otherwise, clear our exclusive hold and finish 51 // Otherwise, clear our exclusive hold and finish
52 monitor.ClearExclusive(); 52 monitor.ClearExclusive(current_core);
53 } 53 }
54 54
55 // We're done. 55 // We're done.
@@ -78,7 +78,7 @@ bool UpdateIfEqual(Core::System& system, s32* out, VAddr address, s32 value, s32
78 } 78 }
79 } else { 79 } else {
80 // Otherwise, clear our exclusive hold and finish. 80 // Otherwise, clear our exclusive hold and finish.
81 monitor.ClearExclusive(); 81 monitor.ClearExclusive(current_core);
82 } 82 }
83 83
84 // We're done. 84 // We're done.