Don't read uninitialized memory in sceSystemServiceReceiveEvent (#1554)

This commit is contained in:
korenkonder 2024-11-20 19:22:30 +03:00 committed by GitHub
parent 9f42a12baf
commit da00235eaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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