summaryrefslogtreecommitdiff
path: root/src/core/hle/service/srv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/srv.cpp')
-rw-r--r--src/core/hle/service/srv.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp
index ac8f398fc..f1940e6f5 100644
--- a/src/core/hle/service/srv.cpp
+++ b/src/core/hle/service/srv.cpp
@@ -36,18 +36,14 @@ void GetServiceHandle(Service::Interface* self) {
36 std::string port_name = std::string((const char*)&cmd_buff[1], 0, Service::kMaxPortSize); 36 std::string port_name = std::string((const char*)&cmd_buff[1], 0, Service::kMaxPortSize);
37 Service::Interface* service = Service::g_manager->FetchFromPortName(port_name); 37 Service::Interface* service = Service::g_manager->FetchFromPortName(port_name);
38 38
39 DEBUG_LOG(OSHLE, "called port=%s, handle=0x%08X", port_name.c_str(),
40 service->GetHandle());
41
42 if (NULL != service) { 39 if (NULL != service) {
43 cmd_buff[3] = service->GetHandle(); 40 cmd_buff[3] = service->GetHandle();
41 DEBUG_LOG(OSHLE, "called port=%s, handle=0x%08X", port_name.c_str(), cmd_buff[3]);
44 } else { 42 } else {
45 ERROR_LOG(OSHLE, "Service %s does not exist", port_name.c_str()); 43 ERROR_LOG(OSHLE, "(UNIMPLEMENTED) called port=%s", port_name.c_str());
46 res = -1; 44 res = -1;
47 } 45 }
48 cmd_buff[1] = res; 46 cmd_buff[1] = res;
49
50 //return res;
51} 47}
52 48
53const Interface::FunctionInfo FunctionTable[] = { 49const Interface::FunctionInfo FunctionTable[] = {