Re-added Skies of Arcadia projection hack. Fixes issue 2514.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5372 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau 2010-04-15 09:23:59 +00:00
parent 01e11610a4
commit 7a7d1a7b55
5 changed files with 10 additions and 11 deletions

View File

@ -321,6 +321,7 @@ 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(_("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);
// Emulation State // Emulation State

View File

@ -90,6 +90,12 @@ void UpdateProjectionHack(int iPhackvalue)
bPhackvalue1 = 0; bPhackvalue1 = 0;
bProjHack1 = 0; bProjHack1 = 0;
break; break;
case PROJECTION_HACK_SKIES_OF_ARCADIA:
bPhackvalue1 = 1;
fhackvalue1 = 0.04f;
bPhackvalue2 = 0;
bProjHack1 = 0;
break;
/* // Unused - kept for reference /* // 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;
@ -118,12 +124,6 @@ void UpdateProjectionHack(int iPhackvalue)
fhackvalue2 = 1.9988f; fhackvalue2 = 1.9988f;
bProjHack1 = 1; bProjHack1 = 1;
break; break;
case PROJECTION_HACK_SKIES_OF_ARCADIA:
bPhackvalue1 = 1;
fhackvalue1 = 0.04f;
bPhackvalue2 = 0;
bProjHack1 = 0;
break;
*/ */
} }

View File

@ -26,6 +26,7 @@ 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_SKIES_OF_ARCADIA = 4
}; };
struct ProjectionHack struct ProjectionHack

View File

@ -193,6 +193,7 @@ 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("Skies of Arcadia"));
} }
void GFXConfigDialogOGL::InitializeGUIValues() void GFXConfigDialogOGL::InitializeGUIValues()

View File

@ -37,11 +37,7 @@ enum
OGL_HACK_ZELDA_TP_BLOOM_HACK = 1, OGL_HACK_ZELDA_TP_BLOOM_HACK = 1,
OGL_HACK_SONIC_AND_THE_BLACK_KNIGHT = 2, OGL_HACK_SONIC_AND_THE_BLACK_KNIGHT = 2,
OGL_HACK_BLEACH_VERSUS_CRUSADE = 3, OGL_HACK_BLEACH_VERSUS_CRUSADE = 3,
OGL_HACK_FINAL_FANTASY_CC_ECHO_OF_TIME = 4, OGL_HACK_SKIES_OF_ARCADIA = 4
OGL_HACK_HARVESTMOON_MM = 5,
OGL_HACK_BATEN_KAITOS = 6,
OGL_HACK_BATEN_KAITOS_ORIGIN = 7,
OGL_HACK_SKIES_OF_ARCADIA = 8
}; };