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

This commit is contained in:
squall-leonhart 2009-03-25 17:05:31 +00:00
parent c309704d55
commit 7367776d30
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);