summaryrefslogtreecommitdiff
path: root/src/core/hle/syscall.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-05-18 18:24:24 -0400
committerGravatar bunnei2014-05-18 18:24:24 -0400
commit725d240bf7b9cb48de7a66f8696695ef7aabc889 (patch)
treef9bbcff151b96109da675e00b23fb65c7a042f25 /src/core/hle/syscall.cpp
parent- moved Handle/Result definitions to kernel.h (diff)
downloadyuzu-725d240bf7b9cb48de7a66f8696695ef7aabc889.tar.gz
yuzu-725d240bf7b9cb48de7a66f8696695ef7aabc889.tar.xz
yuzu-725d240bf7b9cb48de7a66f8696695ef7aabc889.zip
renamed "UID" to "Handle" where appropriate
Diffstat (limited to 'src/core/hle/syscall.cpp')
-rw-r--r--src/core/hle/syscall.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/syscall.cpp b/src/core/hle/syscall.cpp
index 047d8c40f..1d7daf95c 100644
--- a/src/core/hle/syscall.cpp
+++ b/src/core/hle/syscall.cpp
@@ -83,7 +83,7 @@ Result MapMemoryBlock(Handle memblock, u32 addr, u32 mypermissions, u32 otherper
83/// Connect to an OS service given the port name, returns the handle to the port to out 83/// Connect to an OS service given the port name, returns the handle to the port to out
84Result ConnectToPort(void* out, const char* port_name) { 84Result ConnectToPort(void* out, const char* port_name) {
85 Service::Interface* service = Service::g_manager->FetchFromPortName(port_name); 85 Service::Interface* service = Service::g_manager->FetchFromPortName(port_name);
86 Core::g_app_core->SetReg(1, service->GetUID()); 86 Core::g_app_core->SetReg(1, service->GetHandle());
87 DEBUG_LOG(SVC, "ConnectToPort called port_name=%s", port_name); 87 DEBUG_LOG(SVC, "ConnectToPort called port_name=%s", port_name);
88 return 0; 88 return 0;
89} 89}
@@ -91,7 +91,7 @@ Result ConnectToPort(void* out, const char* port_name) {
91/// Synchronize to an OS service 91/// Synchronize to an OS service
92Result SendSyncRequest(Handle session) { 92Result SendSyncRequest(Handle session) {
93 DEBUG_LOG(SVC, "SendSyncRequest called session=0x%08X"); 93 DEBUG_LOG(SVC, "SendSyncRequest called session=0x%08X");
94 Service::Interface* service = Service::g_manager->FetchFromUID(session); 94 Service::Interface* service = Service::g_manager->FetchFromHandle(session);
95 service->Sync(); 95 service->Sync();
96 return 0; 96 return 0;
97} 97}