void SysClose() { EmuShutdown(); ReleasePlugins(); StopDebugger(); if (emuLog != NULL) fclose(emuLog); }
static void ModuleCloseGame () { EmuShutdown(); ClosePlugins(); //Kill resampler Resampler::Kill(); //Close the cheat engine MDFNMP_Kill(); }
void SysClose() { EmuShutdown(); ReleasePlugins(); StopDebugger(); if (emuLog != NULL && emuLog != stdout && emuLog != stderr) { fclose(emuLog); emuLog = NULL; } }