Improve sceSystemServiceReceiveEvent stub (#992)

This commit is contained in:
Stephen Miller 2024-10-15 14:55:03 -05:00 committed by GitHub
parent 437ebc1e02
commit 170db22d9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 69 additions and 4 deletions

View file

@ -1942,9 +1942,12 @@ int PS4_SYSV_ABI sceSystemServiceRaiseExceptionLocalProcess() {
return ORBIS_OK;
}
int PS4_SYSV_ABI sceSystemServiceReceiveEvent() {
LOG_ERROR(Lib_SystemService, "(STUBBED) called");
return ORBIS_OK;
s32 PS4_SYSV_ABI sceSystemServiceReceiveEvent(OrbisSystemServiceEvent* event) {
LOG_ERROR(Lib_SystemService, "(STUBBED) called, event type = {:#x}", (int)event->eventType);
if (event == nullptr) {
return ORBIS_SYSTEM_SERVICE_ERROR_PARAMETER;
}
return ORBIS_SYSTEM_SERVICE_ERROR_NO_EVENT;
}
int PS4_SYSV_ABI sceSystemServiceReenableMusicPlayer() {