summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-29 00:39:28 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-29 00:39:28 +0200
commit70af9d620b8c1ebbc203c3601aad7c746fddff76 (patch)
tree9663634a1eb2a8e0d7039e28da30e67afe59d575 /src/core/hle
parentAPT_U: added stubbed function for APT_U::Enable, fixed some log messages to be more consistent (diff)
downloadyuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.tar
yuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.tar.gz
yuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.tar.bz2
yuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.tar.lz
yuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.tar.xz
yuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.tar.zst
yuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h
index 4671d4528..4a3d4c68a 100644
--- a/src/core/hle/service/service.h
+++ b/src/core/hle/service/service.h
@@ -87,12 +87,12 @@ public:
if (itr == m_functions.end()) {
ERROR_LOG(OSHLE, "Unknown/unimplemented function: port = %s, command = 0x%08X!",
GetPortName(), cmd_buff[0]);
- return -1;
+ return 0; // TODO(bunnei): Hack - ignore error
}
if (itr->second.func == NULL) {
ERROR_LOG(OSHLE, "Unimplemented function: port = %s, name = %s!",
GetPortName(), itr->second.name.c_str());
- return -1;
+ return 0; // TODO(bunnei): Hack - ignore error
}
itr->second.func(this);