mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Run nds-bootstrap from SD card, if found there, and running in DSi mode
This commit is contained in:
parent
06d4ed5f79
commit
30bc6ec416
@ -296,7 +296,7 @@ FileOperation fileBrowse_A(DirEntry* entry, char path[PATH_MAX]) {
|
||||
bootstrapConfig.SetInt("NDS-BOOTSTRAP", "DSI_MODE", 0);
|
||||
bootstrapConfig.SaveIniFile("/_nds/nds-bootstrap.ini");
|
||||
// TODO Something less hacky lol
|
||||
chdir("/_nds");
|
||||
chdir(isDSiMode()&&sdMounted ? "sd:/_nds" : "fat:/_nds");
|
||||
// TODO Read header and check for homebrew flag, based on that runNdsFile nds-bootstrap(-hb)-release
|
||||
entry->name = isDSiMode() ? "nds-bootstrap-release.nds" : "b4ds-release.nds";
|
||||
applaunch = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user