diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -40,7 +40,6 @@ LRESULT CALLBACK derpo(HWND window, UINT msg, WPARAM wparam, LPARAM lparam) case WM_CLOSE: printf("close\n"); { - // 6006800 6008000 FILE* f = fopen("debug/wram.bin", "wb"); if (f) { @@ -51,6 +50,16 @@ LRESULT CALLBACK derpo(HWND window, UINT msg, WPARAM wparam, LPARAM lparam) } fclose(f); } + f = fopen("debug/arm7vram.bin", "wb"); + if (f) + { + for (u32 i = 0x6000000; i < 0x6040000; i+=4) + { + u32 blarg = NDS::ARM7Read32(i); + fwrite(&blarg, 4, 1, f); + } + fclose(f); + } f = fopen("debug/mainram.bin", "wb"); if (f) { |