Cpasjuste / pemu

GNU General Public License v3.0
437 stars 49 forks source link

Nintendo Switch Crash #261

Open Zenjiki opened 9 months ago

Zenjiki commented 9 months ago

All your emulators start normally from fresh start on HBmenu. But if you exit emulator such as Pnes or Psnes, and it goes back to HBmenu and you launch any of you emulators, it crashes. You have to exit HBmenu and enter HBmenu again for your emulators to start. This is for your newest pEMU 6.7.

Cpasjuste commented 9 months ago

Hi,

Thanks for the report. I have a very few questions for you if you have the time:

I'll try to take a closer look this weekend.

Zenjiki commented 9 months ago

First off, thanks so much for all your work on the switch! As much as RA is good, I prefer using all your emulators.

I use title override for hbmenu, by holding R when starting an installed game. I went back and tested 6.5 and 6.6 versions, no issues with those. No matter how many time I exit, and start any of those emulators, I get no crash at all.

I did a fresh reinstall of 6.7 and still got crashes. Again, it never crashes during 1st launch. But I eventually get a crash, wheter its the 2nd, 3rd or 4th time I exit and launch any of the emulators.

Cpasjuste commented 9 months ago

Hi there,

I'm not able to reproduce your problem for now, but i just tested with "pgen" and "pnes", and with the current "dev branch" version, so maybe i did fix something without knowing it. I'll do more testing soon.

That said, are you using an fat32 or exfat formated sdcard? Because i don't know if it's still a thing (i guess yes) but extfat is know to cause problems with homebrews.

If you have the time, you can try the attached "pnes.nro" version (current dev branch version) to see if it still crash for you (as it doesn't seems to crash here). Please note the configuration file path is changed (just for this binary) and is "config-new.cfg". pnes.zip

Zenjiki commented 9 months ago

I use fat32 because everyone recommended that for homebrew on switch.

But looks like you fixed the issue, I started and exited dev pnes about 25 times and no issues. But if I dev branch pnes, then exit and open any of your pemu, I get that crash eventually. Also deleted dev pnes and went back to stable 6.7 pnes, and started to get crash after 1-2X start and exit.

Zenjiki commented 9 months ago

Did more testing of dev branch of pnes, definitely fixed... pretty much tried all the games I have, exiting after each game. Did this for about 40 games, and experienced no crashes what so ever.