mika76 / mamesaver

Mamesaver is a mame emulated screensaver - get all the good ol' games playing their demo modes while you procrastinate and enjoy!
https://mika76.github.io/mamesaver/
MIT License
36 stars 10 forks source link

Bug fixes #28

Closed nullpainter closed 5 years ago

nullpainter commented 5 years ago

This PR includes:

  1. Added MAME exit code handler, deselecting games on play which are either not present or invalid (#26)
  2. Preventing crash if screensaver exits before MAME has exited (#27)
  3. Prevented crash due to user event handler not being disposed (#27)
  4. Prevented crash when creating in-game layouts against an old gamelist.xml file, created when imperfect emulation turned on, but running when flag turned off (#25)
  5. Refactored gameplay code out of MameScreen and into a new GamePlayManager
  6. Added better shuffling algorithm (Fisher-Yates) for randomly selecting games
  7. Changed DC release to more sensible FormClosing event.
  8. Changed timers in MameScreen to use System.Timer.Timers as the previous timer was for forms and was quirky in some situations when attempting to reset.
  9. Renamed Mamesaver to MameOrchestrator to better reflect its function
  10. Correct unhandled exception handligng to use ThreadException handler
  11. Centralised game exit code
  12. Removed potentially red herring dialog display for unhandled / thread exceptions

I've tested all areas of the screensaver and everything seems to work fine, but I haven't given this an exhaustive work out.

mika76 commented 5 years ago

Awesome man - will merge now...

mika76 commented 5 years ago

Found a bug testing: #29

mika76 commented 5 years ago

Fixed #29