mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Add some OpenGL projection hacks by downloadaja
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3390 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3a3ee9131e
commit
d124ceaf92
@ -305,6 +305,10 @@ void CISOProperties::CreateGUIControls(bool IsWad)
|
||||
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"));
|
||||
|
||||
Hack = new wxChoice(m_GameConfig, ID_HACK, wxDefaultPosition, wxDefaultSize, arrayStringFor_Hack, 0, wxDefaultValidator);
|
||||
|
||||
|
||||
|
@ -388,6 +388,9 @@ void ConfigDialog::CreateGUIControls()
|
||||
m_PhackvalueCB->Append(wxT("Sonic and the Black Knight"));
|
||||
m_PhackvalueCB->Append(wxT("Bleach Versus Crusade"));
|
||||
m_PhackvalueCB->Append(wxT("Final Fantasy CC Echo of Time"));
|
||||
m_PhackvalueCB->Append(wxT("Harvest Moon Magical Melody"));
|
||||
m_PhackvalueCB->Append(wxT("Baten Kaitos"));
|
||||
m_PhackvalueCB->Append(wxT("Baten Kaitos Origin"));
|
||||
m_PhackvalueCB->SetSelection(g_Config.iPhackvalue);
|
||||
|
||||
// Default values
|
||||
@ -707,6 +710,25 @@ void Config::UpdateProjectionHack()
|
||||
g_Config.fhackvalue2 = 1.2f;
|
||||
g_Config.bProjHack1 = 0;
|
||||
break;
|
||||
case OGL_HACK_HARVESTMOON_MM:
|
||||
g_Config.bPhackvalue1 = 1;
|
||||
g_Config.fhackvalue1 = 0.0075f;
|
||||
g_Config.bPhackvalue2 = 0;
|
||||
g_Config.bProjHack1 = 0;
|
||||
case OGL_HACK_BATEN_KAITOS:
|
||||
g_Config.bPhackvalue1 = 1;
|
||||
g_Config.fhackvalue1 = 0.0026f;
|
||||
g_Config.bPhackvalue2 = 1;
|
||||
g_Config.fhackvalue2 = 1.9974f;
|
||||
g_Config.bProjHack1 = 1;
|
||||
break;
|
||||
case OGL_HACK_BATEN_KAITOS_ORIGIN:
|
||||
g_Config.bPhackvalue1 = 1;
|
||||
g_Config.fhackvalue1 = 0.0012f;
|
||||
g_Config.bPhackvalue2 = 1;
|
||||
g_Config.fhackvalue2 = 1.9988f;
|
||||
g_Config.bProjHack1 = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -40,6 +40,9 @@ enum
|
||||
OGL_HACK_SONIC_AND_THE_BLACK_KNIGHT = 4,
|
||||
OGL_HACK_BLEACH_VERSUS_CRUSADE = 5,
|
||||
OGL_HACK_FINAL_FANTASY_CC_ECHO_OF_TIME = 6,
|
||||
OGL_HACK_HARVESTMOON_MM = 7,
|
||||
OGL_HACK_BATEN_KAITOS = 8,
|
||||
OGL_HACK_BATEN_KAITOS_ORIGIN = 9
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user