aboutsummaryrefslogtreecommitdiff
path: root/emu.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu.c')
-rw-r--r--emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emu.c b/emu.c
index 9d1a620..d5690b0 100644
--- a/emu.c
+++ b/emu.c
@@ -497,7 +497,7 @@ fetcharg(int a, int barg)
return &mem[reg[PC]++];
default:
/* literal */
- reg[Aux] = a - 0x20;
+ reg[Aux] = a - 0x20 - 1;
return &reg[Aux];
}
}