aboutsummaryrefslogtreecommitdiff
path: root/NDS.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-01-31 15:43:22 +0100
committerStapleButter <thetotalworm@gmail.com>2017-01-31 15:43:22 +0100
commitc3e2f7ad9b6bc7683518c2f26a89cec89253fac5 (patch)
tree7ad6af02c9b5bbaff11365eb31f4756083764de3 /NDS.cpp
parent12ebf83665aad8ae238bdaf4720e552f9433d4bc (diff)
* fix VRAM address calculation for GPU A
* add support for mode 5
Diffstat (limited to 'NDS.cpp')
-rw-r--r--NDS.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/NDS.cpp b/NDS.cpp
index c38c90f..d41f7b7 100644
--- a/NDS.cpp
+++ b/NDS.cpp
@@ -282,7 +282,7 @@ void Reset()
//LoadROM();
//LoadFirmware();
NDSCart::LoadROM("rom/nsmb.nds");
- //LoadROM();
+ LoadROM();
Running = true; // hax
}
@@ -1452,6 +1452,8 @@ u32 ARM9IORead32(u32 addr)
case 0x040002A8: return DivRemainder[0];
case 0x040002AC: return DivRemainder[1];
+ case 0x04000600: return 0x04000000; // hax
+
case 0x04100000:
if (IPCFIFOCnt9 & 0x8000)
{