mirror of
https://github.com/wiiu-env/AutobootModule.git
synced 2024-11-13 06:55:07 +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
84d93d8794
commit
4208bbc235
@ -47,6 +47,10 @@ int32_t main(int32_t argc, char **argv) {
|
||||
OSFatal("AutobootModule: Mocha_InitLibrary failed");
|
||||
}
|
||||
|
||||
VPADStatus vpad{};
|
||||
// Buffer vpad read.
|
||||
VPADRead(VPAD_CHAN_0, &vpad, 1, nullptr);
|
||||
|
||||
FSAInit();
|
||||
auto client = FSAAddClient(nullptr);
|
||||
if (client > 0) {
|
||||
@ -77,9 +81,6 @@ int32_t main(int32_t argc, char **argv) {
|
||||
|
||||
int32_t bootSelection = readAutobootOption(configPath);
|
||||
|
||||
VPADStatus vpad{};
|
||||
VPADRead(VPAD_CHAN_0, &vpad, 1, nullptr);
|
||||
|
||||
std::map<uint32_t, std::string> menu;
|
||||
menu[BOOT_OPTION_WII_U_MENU] = "Wii U Menu";
|
||||
if (showHBL) {
|
||||
|
Loading…
Reference in New Issue
Block a user