Consistent crash when there are no title with save data
MasterHoover opened this issue · 4 comments
After reformatting my microSD card, I reinstalled JKSM and it kept crashing when selecting title.
I finally noticed the crash stopped when I generated a save file for at least one title.
Where exactly does it crash? Immediately or when you select titles?
Edit: Derp, nevermind. My menus don't handle being empty on 3ds I think. I thought it kicked you back if nothing was found. I'll check it out later.
Sorry, I've had a lot going on and I'm juggling too much. Does this help the issue at all? I double checked, and it shouldn't allow you to select titles if the vector is empty.
JKSM.zip
Thanks for looking into it. With the new version you provided, I can still crash when selecting title.
Though while trying to test it I noticed that the cause of the issue was more specific. Sorry about that.
To reproduce the issue, I used these steps:
- Uninstalled every app which had save data.
- Deleted the "nand" and "titles" files in the JKSM folder of the microSD card.
- When launching the app, a scan occurs.
- Selecting title causes the crash.
- The crash persist even when reinstalling the apps from Step 1 until a save data is created for one of the titles.
Here's some notes about the steps above:
- In Step 1, deleting all save data with JKSM instead of uninstalling the apps does not reproduce the crash, even when deleting the "nand" and "titles" files.
- When uninstalling the titles without deleting the "nand" and "titles" files, selecting "Titles" in JKSM does not cause a crash. A message stating "No titles found. Try reloading titles!" appears instead.
Hoped that helps!
This is still an issue