mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Kernel/XAM] Rationale for XNotifyGetNext param_ptr null check
This commit is contained in:
parent
a4ffcd5175
commit
61bcd467a6
|
|
@ -65,6 +65,8 @@ dword_result_t XNotifyGetNext(dword_t handle, dword_t match_id,
|
||||||
dequeued = listener->DequeueNotification(&id, ¶m);
|
dequeued = listener->DequeueNotification(&id, ¶m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// param_ptr may be null - Ghost Recon Advanced Warfighter 2 Demo.
|
||||||
|
// https://github.com/xenia-project/xenia/pull/1577
|
||||||
if (dequeued) {
|
if (dequeued) {
|
||||||
*id_ptr = id;
|
*id_ptr = id;
|
||||||
if (param_ptr) {
|
if (param_ptr) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue