mirror of
https://github.com/coderkei/akmenu-next.git
synced 2025-06-19 01:15:32 -04:00
Passme & Soft Reset
Changed soft reset location to reduce conflicts with other laucher software Added PASSME path
This commit is contained in:
parent
7f66ae6613
commit
462db3bdc7
@ -119,7 +119,6 @@ bool NdsBootstrapLauncher::launchRom(std::string romPath, std::string savePath,
|
|||||||
|
|
||||||
// Launch
|
// Launch
|
||||||
eRunNdsRetCode rc = runNdsFile(argv[0], argv.size(), &argv[0]);
|
eRunNdsRetCode rc = runNdsFile(argv[0], argv.size(), &argv[0]);
|
||||||
progressWnd().hide();
|
|
||||||
if (rc == RUN_NDS_OK) return true;
|
if (rc == RUN_NDS_OK) return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
bool PassMeLauncher::launchRom(std::string romPath, std::string savePath, u32 flags,
|
bool PassMeLauncher::launchRom(std::string romPath, std::string savePath, u32 flags,
|
||||||
u32 cheatOffset, u32 cheatSize) {
|
u32 cheatOffset, u32 cheatSize) {
|
||||||
const char passMeLoaderPath[] = "fat:/__rpg/PassMeLoader.nds";
|
const char passMeLoaderPath[] = "fat:/_nds/PassMeLoader.nds";
|
||||||
|
|
||||||
if (access(passMeLoaderPath, F_OK) != 0) {
|
if (access(passMeLoaderPath, F_OK) != 0) {
|
||||||
printLoaderNotFound(passMeLoaderPath);
|
printLoaderNotFound(passMeLoaderPath);
|
||||||
|
@ -608,7 +608,7 @@ void cMainWnd::setParam(void) {
|
|||||||
gs().uiName = uiNames[uiIndexAfter];
|
gs().uiName = uiNames[uiIndexAfter];
|
||||||
gs().langDirectory = langNames[langIndexAfter];
|
gs().langDirectory = langNames[langIndexAfter];
|
||||||
gs().saveSettings();
|
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) {
|
if (ID_YES == ret) {
|
||||||
gs().langDirectory = langNames[langIndexAfter];
|
gs().langDirectory = langNames[langIndexAfter];
|
||||||
gs().saveSettings();
|
gs().saveSettings();
|
||||||
HomebrewLauncher().launchRom("/BOOT.NDS", "", 0, 0, 0);
|
HomebrewLauncher().launchRom("/_nds/launcher.nds", "", 0, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user