Passme & Soft Reset

Changed soft reset location to reduce conflicts with other laucher software

Added PASSME path
This commit is contained in:
Kei 2024-12-28 14:46:59 +00:00
parent 7f66ae6613
commit 462db3bdc7
3 changed files with 3 additions and 4 deletions

View File

@ -119,7 +119,6 @@ bool NdsBootstrapLauncher::launchRom(std::string romPath, std::string savePath,
// Launch
eRunNdsRetCode rc = runNdsFile(argv[0], argv.size(), &argv[0]);
progressWnd().hide();
if (rc == RUN_NDS_OK) return true;
return false;

View File

@ -14,7 +14,7 @@
bool PassMeLauncher::launchRom(std::string romPath, std::string savePath, u32 flags,
u32 cheatOffset, u32 cheatSize) {
const char passMeLoaderPath[] = "fat:/__rpg/PassMeLoader.nds";
const char passMeLoaderPath[] = "fat:/_nds/PassMeLoader.nds";
if (access(passMeLoaderPath, F_OK) != 0) {
printLoaderNotFound(passMeLoaderPath);

View File

@ -608,7 +608,7 @@ void cMainWnd::setParam(void) {
gs().uiName = uiNames[uiIndexAfter];
gs().langDirectory = langNames[langIndexAfter];
gs().saveSettings();
HomebrewLauncher().launchRom("/BOOT.NDS", "", 0, 0, 0);
HomebrewLauncher().launchRom("/_nds/launcher.nds", "", 0, 0, 0);
}
}
@ -618,7 +618,7 @@ void cMainWnd::setParam(void) {
if (ID_YES == ret) {
gs().langDirectory = langNames[langIndexAfter];
gs().saveSettings();
HomebrewLauncher().launchRom("/BOOT.NDS", "", 0, 0, 0);
HomebrewLauncher().launchRom("/_nds/launcher.nds", "", 0, 0, 0);
}
}