mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 21:31:00 -06:00
* fix VRAM address calculation for GPU A
* add support for mode 5
This commit is contained in:
4
NDS.cpp
4
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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user