mirror of
https://github.com/wiiu-env/AutobootModule.git
synced 2024-11-25 12:06:58 +01:00
Read the initial input before entering the update warning to be able to show both menus when autoboot is active.
This commit is contained in:
parent
220dce54db
commit
0e30c81e4a
@ -47,6 +47,10 @@ int32_t main(int32_t argc, char **argv) {
|
|||||||
OSFatal("AutobootModule: Mocha_InitLibrary failed");
|
OSFatal("AutobootModule: Mocha_InitLibrary failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VPADStatus vpad{};
|
||||||
|
// Buffer vpad read.
|
||||||
|
VPADRead(VPAD_CHAN_0, &vpad, 1, nullptr);
|
||||||
|
|
||||||
FSAInit();
|
FSAInit();
|
||||||
auto client = FSAAddClient(nullptr);
|
auto client = FSAAddClient(nullptr);
|
||||||
if (client > 0) {
|
if (client > 0) {
|
||||||
@ -77,9 +81,6 @@ int32_t main(int32_t argc, char **argv) {
|
|||||||
|
|
||||||
int32_t bootSelection = readAutobootOption(configPath);
|
int32_t bootSelection = readAutobootOption(configPath);
|
||||||
|
|
||||||
VPADStatus vpad{};
|
|
||||||
VPADRead(VPAD_CHAN_0, &vpad, 1, nullptr);
|
|
||||||
|
|
||||||
std::map<uint32_t, std::string> menu;
|
std::map<uint32_t, std::string> menu;
|
||||||
menu[BOOT_OPTION_WII_U_MENU] = "Wii U Menu";
|
menu[BOOT_OPTION_WII_U_MENU] = "Wii U Menu";
|
||||||
if (showHBL) {
|
if (showHBL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user