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:
parent
f118de80a1
commit
962fef0626
|
@ -314,11 +314,6 @@ void CISOProperties::CreateGUIControls(bool IsWad)
|
||||||
arrayStringFor_Hack.Add(_("Zelda Twilight Princess Bloom hack"));
|
arrayStringFor_Hack.Add(_("Zelda Twilight Princess Bloom hack"));
|
||||||
arrayStringFor_Hack.Add(_("Sonic and the Black Knight"));
|
arrayStringFor_Hack.Add(_("Sonic and the Black Knight"));
|
||||||
arrayStringFor_Hack.Add(_("Bleach Versus Crusade"));
|
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);
|
Hack = new wxChoice(m_GameConfig, ID_HACK, wxDefaultPosition, wxDefaultSize, arrayStringFor_Hack, 0, wxDefaultValidator);
|
||||||
|
|
||||||
|
|
||||||
|
@ -942,7 +937,7 @@ bool CISOProperties::SaveGameConfig()
|
||||||
else
|
else
|
||||||
GameIni.Set("Video", "FIFOBPHack", BPHack->Get3StateValue());
|
GameIni.Set("Video", "FIFOBPHack", BPHack->Get3StateValue());
|
||||||
|
|
||||||
if (EmuState->GetSelection() == -1)
|
if (Hack->GetSelection() == -1)
|
||||||
GameIni.DeleteKey("Video", "ProjectionHack");
|
GameIni.DeleteKey("Video", "ProjectionHack");
|
||||||
else
|
else
|
||||||
GameIni.Set("Video", "ProjectionHack", Hack->GetSelection());
|
GameIni.Set("Video", "ProjectionHack", Hack->GetSelection());
|
||||||
|
|
|
@ -90,6 +90,7 @@ void UpdateProjectionHack(int iPhackvalue)
|
||||||
bPhackvalue1 = 0;
|
bPhackvalue1 = 0;
|
||||||
bProjHack1 = 0;
|
bProjHack1 = 0;
|
||||||
break;
|
break;
|
||||||
|
/* // Unused - kept for reference
|
||||||
case PROJECTION_HACK_FINAL_FANTASY_CC_ECHO_OF_TIME:
|
case PROJECTION_HACK_FINAL_FANTASY_CC_ECHO_OF_TIME:
|
||||||
bPhackvalue1 = 1;
|
bPhackvalue1 = 1;
|
||||||
fhackvalue1 = 0.8f;
|
fhackvalue1 = 0.8f;
|
||||||
|
@ -123,6 +124,7 @@ void UpdateProjectionHack(int iPhackvalue)
|
||||||
bPhackvalue2 = 0;
|
bPhackvalue2 = 0;
|
||||||
bProjHack1 = 0;
|
bProjHack1 = 0;
|
||||||
break;
|
break;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the projections hacks
|
// Set the projections hacks
|
||||||
|
|
|
@ -26,11 +26,6 @@ enum
|
||||||
PROJECTION_HACK_ZELDA_TP_BLOOM_HACK = 1,
|
PROJECTION_HACK_ZELDA_TP_BLOOM_HACK = 1,
|
||||||
PROJECTION_HACK_SONIC_AND_THE_BLACK_KNIGHT = 2,
|
PROJECTION_HACK_SONIC_AND_THE_BLACK_KNIGHT = 2,
|
||||||
PROJECTION_HACK_BLEACH_VERSUS_CRUSADE = 3,
|
PROJECTION_HACK_BLEACH_VERSUS_CRUSADE = 3,
|
||||||
PROJECTION_HACK_FINAL_FANTASY_CC_ECHO_OF_TIME = 4,
|
|
||||||
PROJECTION_HACK_HARVESTMOON_MM = 5,
|
|
||||||
PROJECTION_HACK_BATEN_KAITOS = 6,
|
|
||||||
PROJECTION_HACK_BATEN_KAITOS_ORIGIN = 7,
|
|
||||||
PROJECTION_HACK_SKIES_OF_ARCADIA = 8
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ProjectionHack
|
struct ProjectionHack
|
||||||
|
|
|
@ -206,11 +206,6 @@ void GFXConfigDialogOGL::InitializeGUILists()
|
||||||
arrayStringFor_PhackvalueCB.Add(wxT("Zelda Twilight Princess Bloom hack"));
|
arrayStringFor_PhackvalueCB.Add(wxT("Zelda Twilight Princess Bloom hack"));
|
||||||
arrayStringFor_PhackvalueCB.Add(wxT("Sonic and the Black Knight"));
|
arrayStringFor_PhackvalueCB.Add(wxT("Sonic and the Black Knight"));
|
||||||
arrayStringFor_PhackvalueCB.Add(wxT("Bleach Versus Crusade"));
|
arrayStringFor_PhackvalueCB.Add(wxT("Bleach Versus Crusade"));
|
||||||
arrayStringFor_PhackvalueCB.Add(wxT("Final Fantasy CC Echo of Time"));
|
|
||||||
arrayStringFor_PhackvalueCB.Add(wxT("Harvest Moon Magical Melody"));
|
|
||||||
arrayStringFor_PhackvalueCB.Add(wxT("Baten Kaitos"));
|
|
||||||
arrayStringFor_PhackvalueCB.Add(wxT("Baten Kaitos Origin"));
|
|
||||||
arrayStringFor_PhackvalueCB.Add(wxT("Skies of Arcadia"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GFXConfigDialogOGL::InitializeGUIValues()
|
void GFXConfigDialogOGL::InitializeGUIValues()
|
||||||
|
|
Loading…
Reference in New Issue