small clean up

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1208 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-11-18 09:22:06 +00:00
parent db6f69c010
commit aa885ab14c
7 changed files with 10 additions and 12 deletions

View File

@ -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());
}
}
}