Core/burn/drv/sms/sms.cpp
// Run the z80 cpu for Cycles more cycles
Run the z80 cpu for Cycles more cycles
Run the z80 cpu for Cycles more cycles
void CpuRun(int Cycles)
{
	int Done=0;
	z80_ICount+=Cycles; 
	CpuBase=z80_ICount;
	ZetRun(CpuBase);
	Done=CpuMid(); 
	CpuBase=z80_ICount; 
	FrameCyc+=Done; 
}
void CpuRun ( int Cycles ) { int Done = 0 ; z80_ICount += Cycles ; CpuBase = z80_ICount ; ZetRun ( CpuBase ) ; Done = CpuMid ( ) ; CpuBase = z80_ICount ; FrameCyc += Done ; }
Run the z80 cpu for Cycles more cycles
Run the z80 cpu for Cycles more cycles
// Find out number of cycles actually done // Reset CpuBase, so CpuMid() will return 0 // Add cycles done to frame total