summaryrefslogtreecommitdiffstats
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-30 00:10:06 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-30 00:10:06 +0200
commit9453223075e100a94b274613f1da0c47f747edf5 (patch)
treee65fa84679813cbb9f8bea10bcaab49d07753325 /src/core/hle/svc.cpp
parentKernel: Extract dynamic Object pointer cast into its own function (diff)
downloadyuzu-9453223075e100a94b274613f1da0c47f747edf5.tar
yuzu-9453223075e100a94b274613f1da0c47f747edf5.tar.gz
yuzu-9453223075e100a94b274613f1da0c47f747edf5.tar.bz2
yuzu-9453223075e100a94b274613f1da0c47f747edf5.tar.lz
yuzu-9453223075e100a94b274613f1da0c47f747edf5.tar.xz
yuzu-9453223075e100a94b274613f1da0c47f747edf5.tar.zst
yuzu-9453223075e100a94b274613f1da0c47f747edf5.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/svc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 30230d65a..243c54c6e 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -244,7 +244,7 @@ static ResultCode CloseHandle(Kernel::Handle handle) {
/// Wait for a handle to synchronize, timeout after the specified nanoseconds
static ResultCode WaitSynchronization1(Kernel::Handle handle, s64 nano_seconds) {
- auto object = Kernel::g_handle_table.GetWaitObject(handle);
+ auto object = Kernel::g_handle_table.Get<Kernel::WaitObject>(handle);
Kernel::Thread* thread = Kernel::GetCurrentThread();
if (object == nullptr)
@@ -299,7 +299,7 @@ static ResultCode WaitSynchronizationN(s32* out, Kernel::Handle* handles, s32 ha
std::vector<ObjectPtr> objects(handle_count);
for (int i = 0; i < handle_count; ++i) {
- auto object = Kernel::g_handle_table.GetWaitObject(handles[i]);
+ auto object = Kernel::g_handle_table.Get<Kernel::WaitObject>(handles[i]);
if (object == nullptr)
return ERR_INVALID_HANDLE;
objects[i] = object;