From 47b8fac273d980f8d0893b2f6f4b363a9989070f Mon Sep 17 00:00:00 2001 From: vin Date: Sun, 30 Jun 2024 15:19:52 -0400 Subject: [PATCH] fix alignment of logging with ABS_X and ZP_X --- cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu.c b/cpu.c index a2fea28..e79ebf1 100644 --- a/cpu.c +++ b/cpu.c @@ -1888,7 +1888,7 @@ interpret(void) case AM_ZP_X: printf(" $%02X,X", arg); if (did_memwrite) printf(" = %02X\t\t\t", ret); - else printf("\t\t\t\t"); + else printf("\t\t\t"); break; case AM_ZP_Y: printf(" $%02X,Y", arg); @@ -1903,7 +1903,7 @@ interpret(void) break; case AM_ABS_X: printf(" $%04X,X", arg); - if (did_memwrite) printf(" = %02X\t\t\t", ret); + if (did_memwrite) printf(" = %02X\t\t", ret); else printf("\t\t\t"); break; case AM_ABS_Y: