-
Notifications
You must be signed in to change notification settings - Fork 119
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
[Wii] Engine crashes on launch when loaded from USB with no SD card inserted #85
Comments
I have tested in every combination on latest build 6412 and it worked just fine ! Can you test wiiflow and see if it can load iso's from usb ? |
I never had a SD inserted on the Wii when playing OpenBOR and I never noticed that problem, it loads fine. |
Okay, I've tested further and found the actual problem: the Gamecube controller adapter I have plugged in to the other USB port. Which causes a crash on startup only when launching from USB with no SD card inserted. Launch from SD, GC controller adapter in USB port 2: no problem |
Unsurprisingly given the type of problem, it seems to be a libfat issue. |
So usb works but in a very specific senario device conflict will cause a crash. Do we have to leave this issue open as we have no control over libfat ? |
Feel free to unassign yourself from it, but I want to keep looking into this one. Every other Wii homebrew app works fine with this setup, so it is probably a problem with how we are using libfat. |
It will also crash with other devices in port 1 like an usb keyboard for example. Adding a delay to be sure the drive is mounted should fix it. Here's how it's done in genesis plus gx: Not directly related but #58 has been closed and there's no solution right now. If you're interested, I've made a branch with argument's support and other small fixes here: https://github.com/Wiimpathy/openbor/commits/wii-plugin-and-fixes In case you don't know what's this plugin system: https://sites.google.com/site/wiiflowiki4/plugins-setup |
Thank you, that is incredibly helpful! |
Oh, I didn't even notice you'd fixed it in your branch... |
@Wiimpathy thanks for helping :) |
Wii: wait for libfat to mount all devices before continuing
So is this issue fixed now ? |
@msmalik681 I believe so, but can't confirm. |
This has been fixed for a while. Forgot to close it. |
Thanks @Plombo, I don't have a Wii to confirm. |
It's in the title: OpenBOR on Wii can be loaded fine from a USB device if an SD card is inserted, but if no SD card is in the console, it crashes with a code dump on launch.
The text was updated successfully, but these errors were encountered: