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:
parent
9601308b16
commit
7344af8e4b
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue