void BurnYM2610Exit() { #if defined FBA_DEBUG if (!DebugSnd_YM2610Initted) bprintf(PRINT_ERROR, _T("BurnYM2610Exit called without init\n")); #endif YM2610Shutdown(); AY8910Exit(0); BurnTimerExit(); if (pBuffer) { free(pBuffer); pBuffer = NULL; } if (pAYBuffer) { free(pAYBuffer); pAYBuffer = NULL; } bYM2610AddSignal = 0; bYM2610UseSeperateVolumes = 0; DebugSnd_YM2610Initted = 0; }
static int DrvExit() { m6502Exit(); AY8910Exit(0); free (Mem); free (pFMBuffer); return 0; }