diff options
| author | 2014-05-28 18:39:28 -0400 | |
|---|---|---|
| committer | 2014-05-28 18:39:28 -0400 | |
| commit | 70af9d620b8c1ebbc203c3601aad7c746fddff76 (patch) | |
| tree | 9663634a1eb2a8e0d7039e28da30e67afe59d575 /src | |
| parent | APT_U: added stubbed function for APT_U::Enable, fixed some log messages to b... (diff) | |
| download | yuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.tar.gz yuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.tar.xz yuzu-70af9d620b8c1ebbc203c3601aad7c746fddff76.zip | |
service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot further
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/service.h | 4 |
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: | |||
| 87 | if (itr == m_functions.end()) { | 87 | if (itr == m_functions.end()) { |
| 88 | ERROR_LOG(OSHLE, "Unknown/unimplemented function: port = %s, command = 0x%08X!", | 88 | ERROR_LOG(OSHLE, "Unknown/unimplemented function: port = %s, command = 0x%08X!", |
| 89 | GetPortName(), cmd_buff[0]); | 89 | GetPortName(), cmd_buff[0]); |
| 90 | return -1; | 90 | return 0; // TODO(bunnei): Hack - ignore error |
| 91 | } | 91 | } |
| 92 | if (itr->second.func == NULL) { | 92 | if (itr->second.func == NULL) { |
| 93 | ERROR_LOG(OSHLE, "Unimplemented function: port = %s, name = %s!", | 93 | ERROR_LOG(OSHLE, "Unimplemented function: port = %s, name = %s!", |
| 94 | GetPortName(), itr->second.name.c_str()); | 94 | GetPortName(), itr->second.name.c_str()); |
| 95 | return -1; | 95 | return 0; // TODO(bunnei): Hack - ignore error |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | itr->second.func(this); | 98 | itr->second.func(this); |