Dolphin now saves frame limiter setting.

Info Window now also gets the frame limiter setting :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3408 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
death2droid 2009-06-12 13:21:54 +00:00
parent c4632fe345
commit b8d3cae6e3
3 changed files with 4 additions and 2 deletions

View File

@ -120,6 +120,7 @@ void SConfig::SaveSettings()
ini.Set("Core", "RunCompareServer", m_LocalCoreStartupParameter.bRunCompareServer); ini.Set("Core", "RunCompareServer", m_LocalCoreStartupParameter.bRunCompareServer);
ini.Set("Core", "RunCompareClient", m_LocalCoreStartupParameter.bRunCompareClient); ini.Set("Core", "RunCompareClient", m_LocalCoreStartupParameter.bRunCompareClient);
ini.Set("Core", "FrameLimit", m_InterfaceFramelimit);
// Wii // Wii
ini.Set("Wii", "Widescreen", m_LocalCoreStartupParameter.bWidescreen); ini.Set("Wii", "Widescreen", m_LocalCoreStartupParameter.bWidescreen);
@ -236,6 +237,7 @@ void SConfig::LoadSettings()
ini.Get("Core", "RunCompareServer", &m_LocalCoreStartupParameter.bRunCompareServer, false); ini.Get("Core", "RunCompareServer", &m_LocalCoreStartupParameter.bRunCompareServer, false);
ini.Get("Core", "RunCompareClient", &m_LocalCoreStartupParameter.bRunCompareClient, false); ini.Get("Core", "RunCompareClient", &m_LocalCoreStartupParameter.bRunCompareClient, false);
ini.Get("Core", "TLBHack", &m_LocalCoreStartupParameter.iTLBHack, 0); ini.Get("Core", "TLBHack", &m_LocalCoreStartupParameter.iTLBHack, 0);
ini.Get("Core", "FrameLimit", &m_InterfaceFramelimit,0);
// Wii // Wii
ini.Get("Wii", "Widescreen", &m_LocalCoreStartupParameter.bWidescreen, false); ini.Get("Wii", "Widescreen", &m_LocalCoreStartupParameter.bWidescreen, false);

View File

@ -657,9 +657,7 @@ void CConfigMain::CoreSettingsChanged(wxCommandEvent& event)
break; break;
case ID_INTERFACE_FRAMELIMIT: case ID_INTERFACE_FRAMELIMIT:
SConfig::GetInstance().m_InterfaceFramelimit = (u32)InterfaceFramelimit->GetSelection(); SConfig::GetInstance().m_InterfaceFramelimit = (u32)InterfaceFramelimit->GetSelection();
bRefreshList = true;
break; break;
case ID_ALLWAYS_HLEBIOS: // Core case ID_ALLWAYS_HLEBIOS: // Core
SConfig::GetInstance().m_LocalCoreStartupParameter.bHLEBios = AlwaysUseHLEBIOS->IsChecked(); SConfig::GetInstance().m_LocalCoreStartupParameter.bHLEBios = AlwaysUseHLEBIOS->IsChecked();
break; break;

View File

@ -71,6 +71,7 @@ std::string Summarize_Settings()
"Run Compare Server: %s\n" "Run Compare Server: %s\n"
"Run Compare Client: %s\n" "Run Compare Client: %s\n"
"TLB Hack: %s\n" "TLB Hack: %s\n"
"Frame Limit: %d\n"
"[Wii]Widescreen: %s\n" "[Wii]Widescreen: %s\n"
"[Wii]Progressive Scan: %s\n", "[Wii]Progressive Scan: %s\n",
Core::GetStartupParameter().bHLEBios?"True":"False", Core::GetStartupParameter().bHLEBios?"True":"False",
@ -93,6 +94,7 @@ std::string Summarize_Settings()
Core::GetStartupParameter().bRunCompareServer?"True":"False", Core::GetStartupParameter().bRunCompareServer?"True":"False",
Core::GetStartupParameter().bRunCompareClient?"True":"False", Core::GetStartupParameter().bRunCompareClient?"True":"False",
Core::GetStartupParameter().iTLBHack?"True":"False", Core::GetStartupParameter().iTLBHack?"True":"False",
SConfig::GetInstance().m_InterfaceFramelimit*5,
Core::GetStartupParameter().bWidescreen?"True":"False", Core::GetStartupParameter().bWidescreen?"True":"False",
Core::GetStartupParameter().bProgressiveScan?"True":"False" Core::GetStartupParameter().bProgressiveScan?"True":"False"
); );