Core/burn/drv/capcom/cps_run.cpp
// Schedule a beam-synchronized interrupt
Schedule a beam-synchronized interrupt
Schedule a beam - synchronized interrupt
static void ScheduleIRQ()
{
	INT32 nLine = nCpsNumScanlines;
	if (nIrqLine50 <= nLine) {
		nLine = nIrqLine50;
	}
	if (nIrqLine52 < nLine) {
		nLine = nIrqLine52;
	}
	if (nLine < nCpsNumScanlines) {
		nIrqLine = nLine;
		nIrqCycles = (nLine * nCpsCycles / nCpsNumScanlines) + 1;
	} else {
		nIrqCycles = nCpsCycles + 1;
	}
	return;
}
static void ScheduleIRQ ( ) { INT32 nLine = nCpsNumScanlines ; if ( nIrqLine50 <= nLine ) { nLine = nIrqLine50 ; } if ( nIrqLine52 < nLine ) { nLine = nIrqLine52 ; } if ( nLine < nCpsNumScanlines ) { nIrqLine = nLine ; nIrqCycles = ( nLine * nCpsCycles / nCpsNumScanlines ) + 1 ; } else { nIrqCycles = nCpsCycles + 1 ; } return ; }
Schedule a beam-synchronized interrupt
Schedule a beam - synchronized interrupt