lil' hack. makes SM64DS go ingame.

This commit is contained in:
StapleButter 2017-02-05 18:34:21 +01:00
parent 1001df49ea
commit 3cf38e3e9d
2 changed files with 3 additions and 3 deletions

View File

@ -289,7 +289,7 @@ void Reset()
// test
//LoadROM();
//LoadFirmware();
NDSCart::LoadROM("rom/sonic.nds");
NDSCart::LoadROM("rom/sm64ds.nds");
Running = true; // hax
}
@ -1400,7 +1400,7 @@ u32 ARM9IORead32(u32 addr)
case 0x040002B8: return SqrtVal[0];
case 0x040002BC: return SqrtVal[1];
case 0x04000600: return 0x04000000; // hax
case 0x04000600: return 0x06000000; // hax
case 0x04100000:
if (IPCFIFOCnt9 & 0x8000)

View File

@ -86,7 +86,7 @@
"NDS.h"
"SPI.h"
1486264329 source:c:\documents\sources\melonds\gpu2d.cpp
1486315323 source:c:\documents\sources\melonds\gpu2d.cpp
<stdio.h>
<string.h>
"NDS.h"