summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-03-15 15:54:40 -0400
committerGravatar Fernando Sahmkow2020-06-27 11:35:50 -0400
commit25565dffd588006aace7530486e71ff318dc5550 (patch)
treee30556e18f3dae60ea6cb8d32b84fbcc42860d24 /src/core/hle/kernel/svc.cpp
parentCPU_Manager: Correct stopping on SingleCore. (diff)
downloadyuzu-25565dffd588006aace7530486e71ff318dc5550.tar.gz
yuzu-25565dffd588006aace7530486e71ff318dc5550.tar.xz
yuzu-25565dffd588006aace7530486e71ff318dc5550.zip
ARM: Addapt to new Exclusive Monitor Interface.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 9b9f9402e..36e9c48f9 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -1653,10 +1653,8 @@ static void SignalProcessWideKey(Core::System& system, VAddr condition_variable_
1653 u32 update_val = 0; 1653 u32 update_val = 0;
1654 const VAddr mutex_address = thread->GetMutexWaitAddress(); 1654 const VAddr mutex_address = thread->GetMutexWaitAddress();
1655 do { 1655 do {
1656 monitor.SetExclusive32(current_core, mutex_address);
1657
1658 // If the mutex is not yet acquired, acquire it. 1656 // If the mutex is not yet acquired, acquire it.
1659 mutex_val = memory.Read32(mutex_address); 1657 mutex_val = monitor.ExclusiveRead32(current_core, mutex_address);
1660 1658
1661 if (mutex_val != 0) { 1659 if (mutex_val != 0) {
1662 update_val = mutex_val | Mutex::MutexHasWaitersFlag; 1660 update_val = mutex_val | Mutex::MutexHasWaitersFlag;