[XAM/Notify] XNotifyGetNext - Added check to assure if param_ptr is correct
This commit is contained in:
parent
2b74498ca5
commit
6179ca791b
|
@ -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