summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-30 00:54:59 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-30 00:54:59 +0200
commit545e6919ce33a815761aef0f32e8e052858a60b3 (patch)
tree939eecaf5f9aedc96da0ae2d837154ee6a99780f /src/core/hle/service
parentsrv: changed a NOTICE_LOG to DEBUG_LOG (diff)
downloadyuzu-545e6919ce33a815761aef0f32e8e052858a60b3.tar
yuzu-545e6919ce33a815761aef0f32e8e052858a60b3.tar.gz
yuzu-545e6919ce33a815761aef0f32e8e052858a60b3.tar.bz2
yuzu-545e6919ce33a815761aef0f32e8e052858a60b3.tar.lz
yuzu-545e6919ce33a815761aef0f32e8e052858a60b3.tar.xz
yuzu-545e6919ce33a815761aef0f32e8e052858a60b3.tar.zst
yuzu-545e6919ce33a815761aef0f32e8e052858a60b3.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/service.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h
index 4a3d4c68a..8f8d4d552 100644
--- a/src/core/hle/service/service.h
+++ b/src/core/hle/service/service.h
@@ -87,12 +87,20 @@ public:
if (itr == m_functions.end()) {
ERROR_LOG(OSHLE, "Unknown/unimplemented function: port = %s, command = 0x%08X!",
GetPortName(), cmd_buff[0]);
- return 0; // TODO(bunnei): Hack - ignore error
+
+ // TODO(bunnei): Hack - ignore error
+ u32* cmd_buff = Service::GetCommandBuffer();
+ cmd_buff[1] = 0;
+ return 0;
}
if (itr->second.func == NULL) {
ERROR_LOG(OSHLE, "Unimplemented function: port = %s, name = %s!",
GetPortName(), itr->second.name.c_str());
- return 0; // TODO(bunnei): Hack - ignore error
+
+ // TODO(bunnei): Hack - ignore error
+ u32* cmd_buff = Service::GetCommandBuffer();
+ cmd_buff[1] = 0;
+ return 0;
}
itr->second.func(this);