diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-01-31 15:43:22 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-01-31 15:43:22 +0100 |
commit | c3e2f7ad9b6bc7683518c2f26a89cec89253fac5 (patch) | |
tree | 7ad6af02c9b5bbaff11365eb31f4756083764de3 /NDS.cpp | |
parent | 12ebf83665aad8ae238bdaf4720e552f9433d4bc (diff) |
* fix VRAM address calculation for GPU A
* add support for mode 5
Diffstat (limited to 'NDS.cpp')
-rw-r--r-- | NDS.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |