-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add loader error messages if no usb device is mounted for slippi file write #40
base: slippi
Are you sure you want to change the base?
Conversation
loader/source/menu.c
Outdated
@@ -817,24 +818,63 @@ static void Menu_GameSelection_Redraw(MenuCtx *ctx) | |||
PrintFormat(DEFAULT_SIZE, (ncfg->Config & (NIN_CFG_SLIPPI_FILE_WRITE)) ? GREEN : RED, MENU_POS_X+340+(22*10), | |||
gamelist_y, "%-3s", (ncfg->Config & (NIN_CFG_SLIPPI_FILE_WRITE)) ? "ON" : "OFF"); | |||
|
|||
// Warn the user if they're running low on USB disk space | |||
if ((usb_attached == 1) && (ncfg->Config & (NIN_CFG_SLIPPI_FILE_WRITE))) | |||
if ((ncfg->UseUSB == 0) && (usb_attached != 1) && (ncfg->Config & (NIN_CFG_SLIPPI_FILE_WRITE))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can i get some pictures of what these states look like?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not ready for merge, not transitioning from the [wrong format] to [ready] state correctly |
the text clarifies that the notice will not update until slippi nintendont restart
this allows the user to check usb drive readiness for file write without returning to loader or restarting the Wii. also add affirmative usb drive file write ready message. It also fixes a bug where having initially no usb drive for file write inserted and then inserting a valid usb drive and backing out to device selection, then coming back in to game selection would show the file system warning/error.
no one should be using FAT/FAT16, so remove that mention. add mention that exFAT is recommended, due to some hotswap problems with FAT32 drives that are somewhat full already
figured it out in f2ade90 (after rebase and force-push) ready for review |
currently, Slippi Nintendont shuts down the Wii completely if there is no usable file write device. there is no way to know beforehand if the file write device is usable. these messages will help users verify that their usb drive is usable for file write, and diagnose why if not
this change also fixes a small bug in
diskio.c
regarding init status