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

This commit is contained in:
korenkonder authored and GitHub committed 2024-11-20 17:22:30 +01:00
1 parent 9f42a12baf
commit da00235eaf
1 file changed
+1 -1
+1 -1
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;
}