diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-08-15 17:03:03 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-08-15 17:03:03 +1000 |
commit | dc2e476c52a24ca910d2c1e60347fd5bce889169 (patch) | |
tree | fdb37eb252d2dd7cbf3f6eb7c8ba8ff3768ddf1a /src/debug.h | |
parent | db83125332af3622d5dfec5d73a93b7593898d5b (diff) |
forgone build process & misc stuff
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"); } |