mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-26 08:21:21 -08:00
service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot further
This commit is contained in:
parent
3972d4ca8b
commit
70af9d620b
@ -87,12 +87,12 @@ public:
|
|||||||
if (itr == m_functions.end()) {
|
if (itr == m_functions.end()) {
|
||||||
ERROR_LOG(OSHLE, "Unknown/unimplemented function: port = %s, command = 0x%08X!",
|
ERROR_LOG(OSHLE, "Unknown/unimplemented function: port = %s, command = 0x%08X!",
|
||||||
GetPortName(), cmd_buff[0]);
|
GetPortName(), cmd_buff[0]);
|
||||||
return -1;
|
return 0; // TODO(bunnei): Hack - ignore error
|
||||||
}
|
}
|
||||||
if (itr->second.func == NULL) {
|
if (itr->second.func == NULL) {
|
||||||
ERROR_LOG(OSHLE, "Unimplemented function: port = %s, name = %s!",
|
ERROR_LOG(OSHLE, "Unimplemented function: port = %s, name = %s!",
|
||||||
GetPortName(), itr->second.name.c_str());
|
GetPortName(), itr->second.name.c_str());
|
||||||
return -1;
|
return 0; // TODO(bunnei): Hack - ignore error
|
||||||
}
|
}
|
||||||
|
|
||||||
itr->second.func(this);
|
itr->second.func(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user