mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
* HBlank flag and IRQ.
* VBlank and HBlank DMA.
This commit is contained in:
11
main.cpp
11
main.cpp
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user