2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class)

This commit is contained in:
bunnei 2014-05-26 21:17:10 -04:00
parent d73d782ba7
commit 9f7ed2d027

View file

@ -96,8 +96,8 @@ Result ConnectToPort(void* out, const char* port_name) {
/// Synchronize to an OS service /// Synchronize to an OS service
Result SendSyncRequest(Handle handle) { Result SendSyncRequest(Handle handle) {
DEBUG_LOG(SVC, "SendSyncRequest called handle=0x%08X"); DEBUG_LOG(SVC, "SendSyncRequest called handle=0x%08X");
Service::Interface* service = Service::g_manager->FetchFromHandle(handle); Kernel::Object* object = Kernel::g_object_pool.GetFast<Kernel::Object>(handle);
service->Sync(); object->SyncRequest();
return 0; return 0;
} }