diff options
author | StapleButter <thetotalworm@gmail.com> | 2018-04-27 00:20:18 +0200 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2018-04-27 00:20:18 +0200 |
commit | f0bc36421029f61bb0ba4dc4efed86a0bfc63d0b (patch) | |
tree | 8d3d733aedaab828e6b3f992dedf828d9f530c77 | |
parent | 39bd94f551cfa349a3a798cce18421e926b3ac89 (diff) |
init AUXSPICNT to 0x8000.
(guess sloppy DLDI drivers expect that)
-rw-r--r-- | src/NDS.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp index dfd7d80..ca84f98 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -233,6 +233,8 @@ void SetupDirectBoot() // checkme RCnt = 0x8000; + NDSCart::SPICnt = 0x8000; + SPU::SetBias(0x200); ARM7BIOSProt = 0x1204; @@ -890,7 +892,7 @@ void debug(u32 param) // printf("VRAM %c: %02X\n", 'A'+i, GPU::VRAMCNT[i]); /*FILE* - shit = fopen("debug/pictochat.bin", "wb"); + shit = fopen("debug/dldio.bin", "wb"); for (u32 i = 0x02000000; i < 0x02400000; i+=4) { u32 val = ARM7Read32(i); |