static MDFN_COLD void Cleanup(void) { if(IsHES) HES_Close(); else { HuC_Kill(); } VDC_Close(); if(psg) { delete psg; psg = NULL; } if(sbuf) { delete[] sbuf; sbuf = NULL; } cdifs = NULL; }
static void CloseGame(void) { if(IsHES) HES_Close(); else { HuCClose(); } VDC_Close(); if(psg) { delete psg; psg = NULL; } }
static void CloseGame(void) { #ifdef HAVE_HES if(IsHES) HES_Close(); else #endif { HuCClose(); } VDC_Close(); if(psg) { delete psg; psg = NULL; } }