mirror of
https://github.com/GaryOderNichts/DRXUtil.git
synced 2025-02-17 07:06:18 +01:00
FlashScreen: Move home button disable to update state
This commit is contained in:
parent
d4eafc1298
commit
f2ca8f4b00
@ -9,7 +9,7 @@ No one but yourself is responsible for any sort of damage resulting from using t
|
||||
For building you need:
|
||||
- [wut](https://github.com/devkitPro/wut)
|
||||
- [libmocha](https://github.com/wiiu-env/libmocha)
|
||||
- [wiiu-sdl2](https://github.com/GaryOderNichts/SDL/tree/wiiu-sdl2-2.26)
|
||||
- wiiu-sdl2
|
||||
- wiiu-sdl2_ttf
|
||||
|
||||
To build the project run `make`.
|
||||
|
@ -314,8 +314,6 @@ bool FlashScreen::Update(VPADStatus& input)
|
||||
break;
|
||||
}
|
||||
case STATE_PREPARE: {
|
||||
ProcUI::SetHomeButtonMenuEnabled(false);
|
||||
|
||||
std::string originalFirmwarePath;
|
||||
if (!GetDRCFirmwarePath(originalFirmwarePath)) {
|
||||
mErrorString = "Failed to get original DRC firmware path";
|
||||
@ -374,6 +372,8 @@ bool FlashScreen::Update(VPADStatus& input)
|
||||
break;
|
||||
}
|
||||
case STATE_UPDATE: {
|
||||
ProcUI::SetHomeButtonMenuEnabled(false);
|
||||
|
||||
if (!CaffeineInvalidate()) {
|
||||
mErrorString = "Failed to invalidate caffeine.";
|
||||
mState = STATE_ERROR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user