mirror of
https://github.com/wiiu-env/AutobootModule.git
synced 2024-11-22 19:09:14 +01:00
Increase wait time for USB Storage
This commit is contained in:
parent
88161f53c1
commit
148031782f
@ -106,7 +106,7 @@ void initExternalStorage() {
|
|||||||
int tries = 0;
|
int tries = 0;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
||||||
while (tries < 600) {
|
while (tries < 1200) { // Wait up to 20 seconds, like the Wii U Menu
|
||||||
int32_t numItems = nn::spm::GetStorageList(items, 0x20);
|
int32_t numItems = nn::spm::GetStorageList(items, 0x20);
|
||||||
|
|
||||||
DEBUG_FUNCTION_LINE("Number of items: %d", numItems);
|
DEBUG_FUNCTION_LINE("Number of items: %d", numItems);
|
||||||
|
Loading…
Reference in New Issue
Block a user