mirror of
https://github.com/digarok/gsplus.git
synced 2024-06-01 08:41:36 +00:00
PUSH16 MMU check was incorrect.
This commit is contained in:
parent
0e2f35e7fe
commit
81c74470ef
|
@ -250,7 +250,10 @@ extern word32 slow_mem_changed[];
|
|||
stack = stack & 0xffff;
|
||||
|
||||
#define PUSH16(arg) \
|
||||
MMU_CHECK(stack, arg, 2, 1, 1) \
|
||||
tmp2 = stack - 1; \
|
||||
if (psr >> 8) tmp2 = (tmp2 & 0xff) | 0x0100; \
|
||||
tmp2 &= 0xffff; \
|
||||
MMU_CHECK(tmp2, arg, 2, psr >> 8, 1) \
|
||||
_PUSH16(arg)
|
||||
|
||||
#define _PUSH16(arg) \
|
||||
|
|
Loading…
Reference in New Issue
Block a user