mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
small clean up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1208 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -373,7 +373,7 @@ void CISOProperties::CreateGUIControls()
|
||||
|
||||
void CISOProperties::OnClose(wxCloseEvent& WXUNUSED (event))
|
||||
{
|
||||
if (!SaveGameConfig(GameIniFile))
|
||||
if (!SaveGameConfig())
|
||||
wxMessageBox(wxString::Format(_("Could not save %s"), GameIniFile.c_str()), _("Error"), wxOK|wxICON_ERROR, this);
|
||||
Destroy();
|
||||
}
|
||||
@ -500,7 +500,7 @@ void CISOProperties::LoadGameConfig()
|
||||
// Cheats->Append(wxString(arCodes[i].name.c_str(), wxConvUTF8));
|
||||
}
|
||||
|
||||
bool CISOProperties::SaveGameConfig(std::string GameIniFile)
|
||||
bool CISOProperties::SaveGameConfig()
|
||||
{
|
||||
if (UseDualCore->Get3StateValue() == wxCHK_UNDETERMINED)
|
||||
GameIni.DeleteKey("Core", "UseDualCore");
|
||||
@ -539,4 +539,4 @@ void CISOProperties::OnEditConfig(wxCommandEvent& WXUNUSED (event))
|
||||
{
|
||||
File::Launch(GameIniFile.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user