autoframe skipping now working.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@868 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
squall-leonhart 2009-03-24 02:08:58 +00:00
parent 9601308b16
commit 7344af8e4b
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 ) {