From dc2e476c52a24ca910d2c1e60347fd5bce889169 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Tue, 15 Aug 2023 17:03:03 +1000 Subject: forgone build process & misc stuff --- src/debug.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/debug.h') diff --git a/src/debug.h b/src/debug.h index b36d187..9a365db 100644 --- a/src/debug.h +++ b/src/debug.h @@ -32,7 +32,12 @@ void dPageDump(short m){ for(int i = 0; i < 256; i+=16){ printf("\t"); for(int j = 0; j < 16; j+=1){ - printf("%02x ", Memory[(m+(i+j))]); + if ((j+1) % 4 == 0){ + printf("%02x ", Memory[(m+(i+j))]); + } + else { + printf("%02x ", Memory[(m+(i+j))]); + } } printf("\n"); } -- cgit v1.2.3