autoframeskipping wasn't saving to cfg, that is now fixed.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@876 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
squall-leonhart 2009-03-25 17:05:31 +00:00
parent 2fd0d42cb1
commit fc0983d339
1 changed files with 2 additions and 1 deletions

View File

@ -251,6 +251,7 @@ VBA::VBA()
captureFormat = 0;
tripleBuffering = true;
throttle = 0;
throttleLastTime = 0;
autoFrameSkipLastTime = 0;
autoFrameSkip = false;
vsync = false;
@ -1086,7 +1087,6 @@ void systemFrame()
void system10Frames(int rate)
{
//Define autoframeskip method. may no longer be required in current code.
if( theApp.autoFrameSkip )
{
u32 time = systemGetClock();
@ -2410,6 +2410,7 @@ void VBA::saveSettings()
regSetDwordValue("gbFrameSkip", gbFrameSkip);
regSetDwordValue("autoFrameSkip", autoFrameSkip);
regSetDwordValue("vsync", vsync);
regSetDwordValue("synchronize", synchronize);
regSetDwordValue("stretch", fullScreenStretch);