diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-08 00:48:14 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-08 05:27:51 +0100 |
commit | 8e510d5afa71de2ac5745f461ae3d6156aae803a (patch) | |
tree | dc6390e39cf42199fd3eafbe70e917450daa5da6 /src/core/hle/kernel/svc.cpp | |
parent | kernel/svc: Move address arbiter signaling behind a unified API function (diff) | |
download | yuzu-8e510d5afa71de2ac5745f461ae3d6156aae803a.tar yuzu-8e510d5afa71de2ac5745f461ae3d6156aae803a.tar.gz yuzu-8e510d5afa71de2ac5745f461ae3d6156aae803a.tar.bz2 yuzu-8e510d5afa71de2ac5745f461ae3d6156aae803a.tar.lz yuzu-8e510d5afa71de2ac5745f461ae3d6156aae803a.tar.xz yuzu-8e510d5afa71de2ac5745f461ae3d6156aae803a.tar.zst yuzu-8e510d5afa71de2ac5745f461ae3d6156aae803a.zip |
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 6 |
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 } const auto arbitration_type = static_cast<AddressArbiter::ArbitrationType>(type); - auto& address_arbiter = Core::System::GetInstance().Kernel().AddressArbiter(); + auto& address_arbiter = + Core::System::GetInstance().Kernel().CurrentProcess()->GetAddressArbiter(); return address_arbiter.WaitForAddress(address, arbitration_type, value, timeout); } @@ -1500,7 +1501,8 @@ static ResultCode SignalToAddress(VAddr address, u32 type, s32 value, s32 num_to } const auto signal_type = static_cast<AddressArbiter::SignalType>(type); - auto& address_arbiter = Core::System::GetInstance().Kernel().AddressArbiter(); + auto& address_arbiter = + Core::System::GetInstance().Kernel().CurrentProcess()->GetAddressArbiter(); return address_arbiter.SignalToAddress(address, signal_type, value, num_to_wake); } |