summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/pps4/pps4dasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/pps4/pps4dasm.c')
-rw-r--r--src/emu/cpu/pps4/pps4dasm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/emu/cpu/pps4/pps4dasm.c b/src/emu/cpu/pps4/pps4dasm.c
index cf9fc69437c..25333d0ab55 100644
--- a/src/emu/cpu/pps4/pps4dasm.c
+++ b/src/emu/cpu/pps4/pps4dasm.c
@@ -418,9 +418,8 @@ CPU_DISASSEMBLE( pps4 )
if (tok & t_I8c) {
// 8 bit immediate offset into page
- UINT16 arg = pc & ~0xff;
- arg |= ~ARG(pc++) & 255;
- dst += sprintf(dst, "%03x", arg);
+ UINT16 arg = ~ARG(pc++) & 255;
+ dst += sprintf(dst, "%02x", arg);
}
if (tok & t_OVER) // TL or TML