From 9f7ed2d027462b6f2f9e1cb96eb586419f5351a8 Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 26 May 2014 21:17:10 -0400 Subject: svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class) --- src/core/hle/svc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/hle/svc.cpp') 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(handle); + object->SyncRequest(); return 0; } -- cgit v1.2.3