From e3f3659f084b175cefdf3f2979080172645b8d85 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 56ff5dc2d..ec16f4df9 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; }