autoframe skipping now working.

This commit is contained in:
squall-leonhart 2009-03-24 02:08:58 +00:00
parent 3a5aac88f8
commit 6c75bd7d4a
1 changed files with 5 additions and 1 deletions

View File

@ -1087,6 +1087,8 @@ void systemFrame()
void system10Frames(int rate)
{
//Define autoframeskip method. may no longer be required in current code.
if( theApp.autoFrameSkip )
{
u32 time = systemGetClock();
@ -1115,7 +1117,9 @@ void system10Frames(int rate)
}
theApp.wasPaused = false;
theApp.autoFrameSkipLastTime = time;
// Old autoframeskip crap... might be useful later. autoframeskip Ifdef above might be useless as well now
// theApp.autoFrameSkipLastTime = time;
#ifdef LOG_PERFORMANCE
if( systemSpeedCounter >= PERFORMANCE_INTERVAL ) {