void snes_reset() { S9xMovieUpdateOnReset(); if (S9xMoviePlaying()) { S9xMovieStop(true); } S9xSoftReset(); }
void S9xMovieShutdown () { // even if movie is not active, we need to do this in case of ports that output these settings to .cfg file on exit if(delayedPrevRestore) { // ok to restore these now (because emulation is shutting down and snes9x is exiting) Settings.PAL = prevPal; Settings.ShutdownMaster = prevCPUShutdown; delayedPrevRestore = false; } if(S9xMovieActive()) S9xMovieStop (TRUE); }