From 6179ca791b11319eea796dea1d60aef6e16a11c5 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; }