lil' hack. makes SM64DS go ingame.
This commit is contained in:
parent
1001df49ea
commit
3cf38e3e9d
4
NDS.cpp
4
NDS.cpp
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue