void BurnYMF278BExit() { YMF278B_sh_stop(); BurnTimerExit(); free(pBuffer); pBuffer = NULL; }
void BurnYMF278BExit() { #if defined FBA_DEBUG if (!DebugSnd_YMF278BInitted) bprintf(PRINT_ERROR, _T("BurnYMF278BExit called without init\n")); #endif YMF278B_sh_stop(); BurnTimerExit(); if (pBuffer) { free(pBuffer); pBuffer = NULL; } DebugSnd_YMF278BInitted = 0; }