Fixed bug where the projection hack setting was not being saved in the Game Properties dialog.

Removed the obsolete projection hacks:

* Final Fantasy CC Echo of Time
* Harvest Moon Magical Melody
* Baten Kaitos
* Baten Kaitos Origin
* Skies of Arcadia

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5271 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau
2010-04-02 21:28:56 +00:00
parent f118de80a1
commit 962fef0626
4 changed files with 3 additions and 16 deletions

View File

@ -314,11 +314,6 @@ void CISOProperties::CreateGUIControls(bool IsWad)
arrayStringFor_Hack.Add(_("Zelda Twilight Princess Bloom hack"));
arrayStringFor_Hack.Add(_("Sonic and the Black Knight"));
arrayStringFor_Hack.Add(_("Bleach Versus Crusade"));
arrayStringFor_Hack.Add(_("Final Fantasy CC Echo of Time"));
arrayStringFor_Hack.Add(_("Harvest Moon Magical Melody"));
arrayStringFor_Hack.Add(_("Baten Kaitos"));
arrayStringFor_Hack.Add(_("Baten Kaitos Origin"));
arrayStringFor_Hack.Add(_("Skies of Arcadia"));
Hack = new wxChoice(m_GameConfig, ID_HACK, wxDefaultPosition, wxDefaultSize, arrayStringFor_Hack, 0, wxDefaultValidator);
@ -942,7 +937,7 @@ bool CISOProperties::SaveGameConfig()
else
GameIni.Set("Video", "FIFOBPHack", BPHack->Get3StateValue());
if (EmuState->GetSelection() == -1)
if (Hack->GetSelection() == -1)
GameIni.DeleteKey("Video", "ProjectionHack");
else
GameIni.Set("Video", "ProjectionHack", Hack->GetSelection());