Debugger: Prevent invalid address on syscall.

This commit is contained in:
Unknown W. Brackets 2018-11-17 08:54:29 -08:00
parent 79d16f7b9f
commit 8506da14f0

View file

@ -1531,7 +1531,7 @@ skip:
}
// lw, sh, ...
if ((opInfo & IN_MEM) || (opInfo & OUT_MEM)) {
if (!IsSyscall(op) && (opInfo & (IN_MEM | OUT_MEM)) != 0) {
info.isDataAccess = true;
switch (opInfo & MEMTYPE_MASK) {
case MEMTYPE_BYTE: