Use B4DS, if GM9i runs in DS mode

This commit is contained in:
RocketRobz 2020-10-26 21:46:48 -06:00
parent 44f3a0ccb9
commit 68c06b8687

View File

@ -298,7 +298,7 @@ FileOperation fileBrowse_A(DirEntry* entry, char path[PATH_MAX]) {
// TODO Something less hacky lol
chdir("/_nds");
// TODO Read header and check for homebrew flag, based on that runNdsFile nds-bootstrap(-hb)-release
entry->name = "nds-bootstrap-release.nds";
entry->name = isDSiMode() ? "nds-bootstrap-release.nds" : "b4ds-release.nds";
applaunch = true;
return FileOperation::bootFile;
break;