[XAM/Notify] XNotifyGetNext - Added check to assure if param_ptr is correct
This commit is contained in:
parent
5358aec284
commit
e3f3659f08
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue