summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index d44def658..77d0e3d96 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -1480,7 +1480,8 @@ static ResultCode WaitForAddress(VAddr address, u32 type, s32 value, s64 timeout
1480 } 1480 }
1481 1481
1482 const auto arbitration_type = static_cast<AddressArbiter::ArbitrationType>(type); 1482 const auto arbitration_type = static_cast<AddressArbiter::ArbitrationType>(type);
1483 auto& address_arbiter = Core::System::GetInstance().Kernel().AddressArbiter(); 1483 auto& address_arbiter =
1484 Core::System::GetInstance().Kernel().CurrentProcess()->GetAddressArbiter();
1484 return address_arbiter.WaitForAddress(address, arbitration_type, value, timeout); 1485 return address_arbiter.WaitForAddress(address, arbitration_type, value, timeout);
1485} 1486}
1486 1487
@@ -1500,7 +1501,8 @@ static ResultCode SignalToAddress(VAddr address, u32 type, s32 value, s32 num_to
1500 } 1501 }
1501 1502
1502 const auto signal_type = static_cast<AddressArbiter::SignalType>(type); 1503 const auto signal_type = static_cast<AddressArbiter::SignalType>(type);
1503 auto& address_arbiter = Core::System::GetInstance().Kernel().AddressArbiter(); 1504 auto& address_arbiter =
1505 Core::System::GetInstance().Kernel().CurrentProcess()->GetAddressArbiter();
1504 return address_arbiter.SignalToAddress(address, signal_type, value, num_to_wake); 1506 return address_arbiter.SignalToAddress(address, signal_type, value, num_to_wake);
1505} 1507}
1506 1508