From da3a78a295470af1ff4490d20a58be5405137294 Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Mon, 22 Jul 2013 23:49:01 -0700 Subject: [PATCH] bugfix --- src/cpu.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpu.S b/src/cpu.S index c5208f96..2f775229 100644 --- a/src/cpu.S +++ b/src/cpu.S @@ -33,8 +33,8 @@ #define DebugCurrEA SN(cpu65_debug) #define DebugCurrByte SN(cpu65_debug)+2 #define DebugCurrRW SN(cpu65_debug)+3 -#define DebugCycleCount SN(cpu65_debug)+4 -#define DebugCurrOpcode SN(cpu65_debug)+5 +#define DebugCurrOpcode SN(cpu65_debug)+4 +#define DebugCycleCount SN(cpu65_debug)+5 /* ------------------------------------------------------------------------- CPU (6502) Helper Routines @@ -2664,7 +2664,7 @@ continue: SaveState movb $0, DebugCurrRW movb $0, DebugCycleCount GetFromPC_B - movb $al, DebugCurrOpcode + movb %al, DebugCurrOpcode jmp *cpu65__opcodes(,%eax,4) /* Exception handler */