mirror of
https://github.com/wiiu-env/AromaUpdater.git
synced 2024-12-25 04:21:53 +01:00
Reset default environment when launching from Tiramisu
This commit is contained in:
parent
c3b06522b0
commit
9be5f01ca6
@ -156,6 +156,10 @@ ApplicationState::eSubState UpdaterState::update(Input *input) {
|
||||
}
|
||||
case STATE_UPDATE_SUCCESS: {
|
||||
if (buttonPressed(input, Input::BUTTON_A)) {
|
||||
if (gDeleteDefaultEnvironmentOnSuccess) {
|
||||
// Delete default environment when installing from Tiramisu
|
||||
remove("fs:/vol/external01/wiiu/environments/default.cfg");
|
||||
}
|
||||
OSLaunchTitlel(0xffffffff, 0xfffffffe, 0, nullptr);
|
||||
return SUBSTATE_RESTART;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user