Fixes a black screen on launch issue when an unformatted memory card is inserted. Reproducible on PCSX2.
Pull Request checklist
Note: these are not necessarily requirements
[x] I reformatted the code with clang-format
[x] I checked to make sure my submission worked
[x] I am the author of submission or have permission from the original author
[ ] Requires update of the PS2SDK or other dependencies
[ ] Others (please specify below)
Pull Request description
Reproduce-able on hardware and on PCSX2.
wLaunchELF checks for "related files" on multiple devices, including memory cards. On opens to unformatted memory cards, the IOP will stall, making the EE stuck forever. These changes check the status of the memory card, and if it is unformatted, skips trying to open a file on it.
These changes could possibly be instead, put into the fileXio / whatever memory card library instead of doing the check here.
Suggestions and ideas are welcome.
I believe this happened during v4.40, the changelog states "-Merged in a new mcman module by jimmikaelkael, fixing the FTP server bug". Possibly fixing mcman itself would be a better solution?
Fixes a black screen on launch issue when an unformatted memory card is inserted. Reproducible on PCSX2.
Pull Request checklist
Note: these are not necessarily requirements
Pull Request description
Reproduce-able on hardware and on PCSX2. wLaunchELF checks for "related files" on multiple devices, including memory cards. On opens to unformatted memory cards, the IOP will stall, making the EE stuck forever. These changes check the status of the memory card, and if it is unformatted, skips trying to open a file on it.
These changes could possibly be instead, put into the fileXio / whatever memory card library instead of doing the check here. Suggestions and ideas are welcome.
I believe this happened during v4.40, the changelog states "-Merged in a new mcman module by jimmikaelkael, fixing the FTP server bug". Possibly fixing mcman itself would be a better solution?