From 1742959b58f5fe7e5083071855f5c2a2f6dbc0ec Mon Sep 17 00:00:00 2001 From: Gliniak Date: Tue, 10 Dec 2019 22:13:17 +0100 Subject: [PATCH] [XAM/Notify] XNotifyGetNext - Added check to assure if param_ptr is correct --- src/xenia/kernel/xam/xam_notify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/kernel/xam/xam_notify.cc b/src/xenia/kernel/xam/xam_notify.cc index 79dbc37ca..6b247ad1d 100644 --- a/src/xenia/kernel/xam/xam_notify.cc +++ b/src/xenia/kernel/xam/xam_notify.cc @@ -42,7 +42,7 @@ DECLARE_XAM_EXPORT1(XamNotifyCreateListener, kNone, kImplemented); // https://github.com/CodeAsm/ffplay360/blob/master/Common/AtgSignIn.cpp dword_result_t XNotifyGetNext(dword_t handle, dword_t match_id, lpdword_t id_ptr, lpdword_t param_ptr) { - if (!handle) { + if (!handle | !param_ptr) { return 0; }