From 7344af8e4bd11607fa8fde894a7a25cbca25a308 Mon Sep 17 00:00:00 2001 From: squall-leonhart Date: Tue, 24 Mar 2009 02:08:58 +0000 Subject: [PATCH] autoframe skipping now working. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@868 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/win32/VBA.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/win32/VBA.cpp b/src/win32/VBA.cpp index 8b0859c0..6973e3d2 100644 --- a/src/win32/VBA.cpp +++ b/src/win32/VBA.cpp @@ -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 ) {