diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/service.h | 12 |
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: | |||
| 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 0; // TODO(bunnei): Hack - ignore error | 90 | |
| 91 | // TODO(bunnei): Hack - ignore error | ||
| 92 | u32* cmd_buff = Service::GetCommandBuffer(); | ||
| 93 | cmd_buff[1] = 0; | ||
| 94 | return 0; | ||
| 91 | } | 95 | } |
| 92 | if (itr->second.func == NULL) { | 96 | if (itr->second.func == NULL) { |
| 93 | ERROR_LOG(OSHLE, "Unimplemented function: port = %s, name = %s!", | 97 | ERROR_LOG(OSHLE, "Unimplemented function: port = %s, name = %s!", |
| 94 | GetPortName(), itr->second.name.c_str()); | 98 | GetPortName(), itr->second.name.c_str()); |
| 95 | return 0; // TODO(bunnei): Hack - ignore error | 99 | |
| 100 | // TODO(bunnei): Hack - ignore error | ||
| 101 | u32* cmd_buff = Service::GetCommandBuffer(); | ||
| 102 | cmd_buff[1] = 0; | ||
| 103 | return 0; | ||
| 96 | } | 104 | } |
| 97 | 105 | ||
| 98 | itr->second.func(this); | 106 | itr->second.func(this); |