More fixes

- Fixed no sound issues on flashcarts running on TWL_FIRM (Not sure why this code was here, it also exists in WoodRPG)
- Fixed theme/language soft reset for DSi & 3DS version
- Removed old build files, these are now integrated into the makefile
This commit is contained in:
Kei 2024-12-28 21:41:30 +00:00
parent 462db3bdc7
commit e5f8629319
5 changed files with 11 additions and 15 deletions

View File

@ -142,10 +142,6 @@ static void menuValue32Handler(u32 value, void* data) {
}
int main() {
// mute sound
if (2 == getSystem())
writePowerManagement(PM_CONTROL_REG,
(readPowerManagement(PM_CONTROL_REG) & ~PM_SOUND_AMP) | PM_SOUND_MUTE);
// switch on backlight on both screens
writePowerManagement(PM_CONTROL_REG, readPowerManagement(PM_CONTROL_REG) | PM_BACKLIGHT_BOTTOM |
PM_BACKLIGHT_TOP);

View File

@ -608,7 +608,11 @@ void cMainWnd::setParam(void) {
gs().uiName = uiNames[uiIndexAfter];
gs().langDirectory = langNames[langIndexAfter];
gs().saveSettings();
HomebrewLauncher().launchRom("/_nds/launcher.nds", "", 0, 0, 0);
#ifdef __DSIMODE__
HomebrewLauncher().launchRom("sd:/_nds/launcher.nds", "", 0, 0, 0);
#else
HomebrewLauncher().launchRom("fat:/_nds/launcher.nds", "", 0, 0, 0);
#endif
}
}
@ -618,7 +622,11 @@ void cMainWnd::setParam(void) {
if (ID_YES == ret) {
gs().langDirectory = langNames[langIndexAfter];
gs().saveSettings();
HomebrewLauncher().launchRom("/_nds/launcher.nds", "", 0, 0, 0);
#ifdef __DSIMODE__
HomebrewLauncher().launchRom("sd:/_nds/launcher.nds", "", 0, 0, 0);
#else
HomebrewLauncher().launchRom("fat:/_nds/launcher.nds", "", 0, 0, 0);
#endif
}
}

View File

@ -8,7 +8,7 @@
*/
#define AKMENU_VERSION_MAIN "1"
#define AKMENU_VERSION_SUB "0"
#define AKMENU_VERSION_SUB "1"
#ifndef __KERNEL_LAUNCHER_SUPPORT__
#define AKMENU_LOADER_NAME "nds-bootstrap"

View File

@ -1,5 +0,0 @@
set -e
mkdir -p data
make -C nds-bootloader LOADBIN=$PWD/data/load.bin
make

View File

@ -1,3 +0,0 @@
make clean
make -C nds-bootloader clean
rm data/load.bin