mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
DSi/3DS: Now runs without an SD card
This commit is contained in:
parent
61b426347b
commit
50b41435f4
@ -141,6 +141,7 @@ int main() {
|
||||
sdmmc_nand_cid((u32*)0x2FFD7BC); // Get eMMC CID
|
||||
*(u32*)(0x2FFFD0C) = 0;
|
||||
}
|
||||
*(u8*)(0x2FFFD08) = ((*(vu32*)(0x400481C) & BIT(3)) || !(*(vu32*)(0x400481C) & BIT(5))); // Set if there's no SD inserted
|
||||
resyncClock();
|
||||
swiWaitForVBlank();
|
||||
}
|
||||
|
||||
@ -200,7 +200,9 @@ int main(int argc, char **argv) {
|
||||
if (keysHeld() & KEY_Y) {
|
||||
yHeld = true;
|
||||
}
|
||||
sdMounted = sdMount();
|
||||
if (*(u8*)(0x2FFFD08) == 0) {
|
||||
sdMounted = sdMount();
|
||||
}
|
||||
ramdrive1Mount();
|
||||
*(vu32*)(0x0DFFFE0C) = 0x474D3969; // Check for 32MB of RAM
|
||||
if (*(vu32*)(0x0DFFFE0C) == 0x474D3969) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user