bugfix: Frameskip options in the CPU dialog didn't save and load right. ( Issue 41 )

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@319 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
Jake.Stine 2008-11-12 13:17:44 +00:00 committed by Gregory Hainaut
parent b004b8e712
commit a7db736e6b
1 changed files with 4 additions and 4 deletions

View File

@ -102,10 +102,10 @@ int LoadConfig()
strcpy(Conf->Mcd1, szValue); strcpy(Conf->Mcd1, szValue);
GetPrivateProfileString("Interface", "Mcd2", NULL, szValue, g_MaxPath, szIniFile); GetPrivateProfileString("Interface", "Mcd2", NULL, szValue, g_MaxPath, szIniFile);
strcpy(Conf->Mcd2, szValue); strcpy(Conf->Mcd2, szValue);
Config.CustomFps = GetPrivateProfileInt("Interface", "CustomFps", 0, szIniFile); Conf->CustomFps = GetPrivateProfileInt("Interface", "CustomFps", 0, szIniFile);
Config.CustomFrameSkip = GetPrivateProfileInt("Interface", "CustomFrameskip", 0, szIniFile); Conf->CustomFrameSkip = GetPrivateProfileInt("Interface", "CustomFrameskip", 0, szIniFile);
Config.CustomConsecutiveFrames = GetPrivateProfileInt("Interface", "CustomConsecutiveFrames", 0, szIniFile); Conf->CustomConsecutiveFrames = GetPrivateProfileInt("Interface", "CustomConsecutiveFrames", 0, szIniFile);
Config.CustomConsecutiveSkip = GetPrivateProfileInt("Interface", "CustomConsecutiveSkip", 0, szIniFile); Conf->CustomConsecutiveSkip = GetPrivateProfileInt("Interface", "CustomConsecutiveSkip", 0, szIniFile);
//plugins //plugins
GetPrivateProfileString("Plugins", "GS", NULL, szValue, g_MaxPath, szIniFile); GetPrivateProfileString("Plugins", "GS", NULL, szValue, g_MaxPath, szIniFile);
strcpy(Conf->GS, szValue); strcpy(Conf->GS, szValue);