diff options
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.h b/src/debug.h index 0035e0f..59e3c47 100644 --- a/src/debug.h +++ b/src/debug.h @@ -35,10 +35,10 @@ void dPageDump(short m){ printf("\t"); for(int j = 0; j < 16; j+=1){ if ((j+1) % 4 == 0){ - printf("%02x ", Memory[(m+(i+j))]); + printf("%02x ", GetMemory((m+(i+j)))); } else { - printf("%02x ", Memory[(m+(i+j))]); + printf("%02x ", GetMemory((m+(i+j)))); } } printf("\n"); |