Properly protect the HLE instructions against corrupted memory. (#189)
authorgameblabla <gameblabla@users.noreply.github.com>
Sun, 22 Aug 2021 21:39:05 +0000 (21:39 +0000)
committerGitHub <noreply@github.com>
Sun, 22 Aug 2021 21:39:05 +0000 (00:39 +0300)
commitdd79da89fc4ddf020bb6f8d8c8a733429249bab3
treecd7aa0af649883ac899dd9711fe2622d777dbabc
parent3a284665dd7ab36e5d3973d09f9239efb7a838e2
Properly protect the HLE instructions against corrupted memory. (#189)

Fix is from PCSX-redux :
https://github.com/grumpycoders/pcsx-redux/commit/99c9508f2a9dc1444b88f37eb100cdfb17862b52

This should hopefully fix HDHOSHY's experimental patch properly.

Co-authored-by: Nicolas Noble <nicolasnoble@users.noreply.github.com>
libpcsxcore/new_dynarec/emu_if.h
libpcsxcore/new_dynarec/new_dynarec.c
libpcsxcore/psxhle.c
libpcsxcore/psxhle.h
libpcsxcore/psxinterpreter.c