diff options
Diffstat (limited to 'src/emu/cpu/pps4/pps4dasm.c')
-rw-r--r-- | src/emu/cpu/pps4/pps4dasm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/cpu/pps4/pps4dasm.c b/src/emu/cpu/pps4/pps4dasm.c index 4b6ee314175..cf9fc69437c 100644 --- a/src/emu/cpu/pps4/pps4dasm.c +++ b/src/emu/cpu/pps4/pps4dasm.c @@ -418,7 +418,8 @@ CPU_DISASSEMBLE( pps4 ) if (tok & t_I8c) { // 8 bit immediate offset into page - UINT16 arg = ~ARG(pc++) & 255; + UINT16 arg = pc & ~0xff; + arg |= ~ARG(pc++) & 255; dst += sprintf(dst, "%03x", arg); } |