mirror of
https://github.com/GaryOderNichts/DRXUtil.git
synced 2025-04-25 03:51:28 +02: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:
|
For building you need:
|
||||||
- [wut](https://github.com/devkitPro/wut)
|
- [wut](https://github.com/devkitPro/wut)
|
||||||
- [libmocha](https://github.com/wiiu-env/libmocha)
|
- [libmocha](https://github.com/wiiu-env/libmocha)
|
||||||
- [wiiu-sdl2](https://github.com/GaryOderNichts/SDL/tree/wiiu-sdl2-2.26)
|
- wiiu-sdl2
|
||||||
- wiiu-sdl2_ttf
|
- wiiu-sdl2_ttf
|
||||||
|
|
||||||
To build the project run `make`.
|
To build the project run `make`.
|
||||||
|
@ -314,8 +314,6 @@ bool FlashScreen::Update(VPADStatus& input)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case STATE_PREPARE: {
|
case STATE_PREPARE: {
|
||||||
ProcUI::SetHomeButtonMenuEnabled(false);
|
|
||||||
|
|
||||||
std::string originalFirmwarePath;
|
std::string originalFirmwarePath;
|
||||||
if (!GetDRCFirmwarePath(originalFirmwarePath)) {
|
if (!GetDRCFirmwarePath(originalFirmwarePath)) {
|
||||||
mErrorString = "Failed to get original DRC firmware path";
|
mErrorString = "Failed to get original DRC firmware path";
|
||||||
@ -374,6 +372,8 @@ bool FlashScreen::Update(VPADStatus& input)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case STATE_UPDATE: {
|
case STATE_UPDATE: {
|
||||||
|
ProcUI::SetHomeButtonMenuEnabled(false);
|
||||||
|
|
||||||
if (!CaffeineInvalidate()) {
|
if (!CaffeineInvalidate()) {
|
||||||
mErrorString = "Failed to invalidate caffeine.";
|
mErrorString = "Failed to invalidate caffeine.";
|
||||||
mState = STATE_ERROR;
|
mState = STATE_ERROR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user