summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-27 03:17:10 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-27 03:17:10 +0200
commit9f7ed2d027462b6f2f9e1cb96eb586419f5351a8 (patch)
treeafb41d3f98773262a792e613f00d9e098e2ade49 /src
parentkernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequest (diff)
downloadyuzu-9f7ed2d027462b6f2f9e1cb96eb586419f5351a8.tar
yuzu-9f7ed2d027462b6f2f9e1cb96eb586419f5351a8.tar.gz
yuzu-9f7ed2d027462b6f2f9e1cb96eb586419f5351a8.tar.bz2
yuzu-9f7ed2d027462b6f2f9e1cb96eb586419f5351a8.tar.lz
yuzu-9f7ed2d027462b6f2f9e1cb96eb586419f5351a8.tar.xz
yuzu-9f7ed2d027462b6f2f9e1cb96eb586419f5351a8.tar.zst
yuzu-9f7ed2d027462b6f2f9e1cb96eb586419f5351a8.zip
Diffstat (limited to 'src')
-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 0c647b86f..ac016a966 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -96,8 +96,8 @@ Result ConnectToPort(void* out, const char* port_name) {
/// Synchronize to an OS service
Result SendSyncRequest(Handle handle) {
DEBUG_LOG(SVC, "SendSyncRequest called handle=0x%08X");
- Service::Interface* service = Service::g_manager->FetchFromHandle(handle);
- service->Sync();
+ Kernel::Object* object = Kernel::g_object_pool.GetFast<Kernel::Object>(handle);
+ object->SyncRequest();
return 0;
}