[Kernel/XAM] Even more detailed rationale for XNotifyGetNext param_ptr null check

This commit is contained in:
Triang3l 2020-03-23 10:46:51 +03:00
parent 61bcd467a6
commit 821a9897ef
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ dword_result_t XNotifyGetNext(dword_t handle, dword_t match_id,
dequeued = listener->DequeueNotification(&id, &param); dequeued = listener->DequeueNotification(&id, &param);
} }
// param_ptr may be null - Ghost Recon Advanced Warfighter 2 Demo. // param_ptr may be null - Ghost Recon Advanced Warfighter 2 Demo explicitly
// passes nullptr in the code.
// https://github.com/xenia-project/xenia/pull/1577 // https://github.com/xenia-project/xenia/pull/1577
if (dequeued) { if (dequeued) {
*id_ptr = id; *id_ptr = id;