mirror of
https://github.com/coderkei/akmenu-next.git
synced 2025-06-18 08:55:46 -04:00
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:
parent
462db3bdc7
commit
e5f8629319
@ -142,10 +142,6 @@ static void menuValue32Handler(u32 value, void* data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
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
|
// switch on backlight on both screens
|
||||||
writePowerManagement(PM_CONTROL_REG, readPowerManagement(PM_CONTROL_REG) | PM_BACKLIGHT_BOTTOM |
|
writePowerManagement(PM_CONTROL_REG, readPowerManagement(PM_CONTROL_REG) | PM_BACKLIGHT_BOTTOM |
|
||||||
PM_BACKLIGHT_TOP);
|
PM_BACKLIGHT_TOP);
|
||||||
|
@ -608,7 +608,11 @@ 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("/_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) {
|
if (ID_YES == ret) {
|
||||||
gs().langDirectory = langNames[langIndexAfter];
|
gs().langDirectory = langNames[langIndexAfter];
|
||||||
gs().saveSettings();
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define AKMENU_VERSION_MAIN "1"
|
#define AKMENU_VERSION_MAIN "1"
|
||||||
#define AKMENU_VERSION_SUB "0"
|
#define AKMENU_VERSION_SUB "1"
|
||||||
|
|
||||||
#ifndef __KERNEL_LAUNCHER_SUPPORT__
|
#ifndef __KERNEL_LAUNCHER_SUPPORT__
|
||||||
#define AKMENU_LOADER_NAME "nds-bootstrap"
|
#define AKMENU_LOADER_NAME "nds-bootstrap"
|
||||||
|
5
build.sh
5
build.sh
@ -1,5 +0,0 @@
|
|||||||
set -e
|
|
||||||
|
|
||||||
mkdir -p data
|
|
||||||
make -C nds-bootloader LOADBIN=$PWD/data/load.bin
|
|
||||||
make
|
|
Loading…
Reference in New Issue
Block a user