diff options
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 7 |
1 files changed, 6 insertions, 1 deletions
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"); } |