Core/burn/snd/burn_ym3526.cpp
// ----------------------------------------------------------------------------
// Execute YM3526 for part of a frame
Execute YM3526 for part of a frame
Execute YM3526 for part of a frame
static void YM3526Render(INT32 nSegmentLength)
{
#if defined FBA_DEBUG
	if (!DebugSnd_YM3526Initted) bprintf(PRINT_ERROR, _T("YM3526Render called without init\n"));
#endif
	if (nYM3526Position >= nSegmentLength) {
		return;
	}
	nSegmentLength -= nYM3526Position;
	YM3526UpdateOne(0, pBuffer + 0 * 4096 + 4 + nYM3526Position, nSegmentLength);
	nYM3526Position += nSegmentLength;
}
static void YM3526Render ( INT32 nSegmentLength ) { #if defined FBA_DEBUG if ( ! DebugSnd_YM3526Initted ) bprintf ( PRINT_ERROR , _T ( " \n " ) ) ; #endif if ( nYM3526Position >= nSegmentLength ) { return ; } nSegmentLength -= nYM3526Position ; YM3526UpdateOne ( 0 , pBuffer + 0 * 4096 + 4 + nYM3526Position , nSegmentLength ) ; nYM3526Position += nSegmentLength ; }
Execute YM3526 for part of a frame
Execute YM3526 for part of a frame