Renamed the "Disable Copy to EFB" option in the game properties(and game ini) to "Enable Copy to EFB", as it is named in the global video settings. (fixes issue 3556)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6475 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
181f03551c
commit
f0ac60935c
|
@ -325,7 +325,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
|
||||||
// Video
|
// Video
|
||||||
sbVideoOverrides = new wxStaticBoxSizer(wxVERTICAL, m_GameConfig, _("Video"));
|
sbVideoOverrides = new wxStaticBoxSizer(wxVERTICAL, m_GameConfig, _("Video"));
|
||||||
ForceFiltering = new wxCheckBox(m_GameConfig, ID_FORCEFILTERING, _("Force Filtering"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
ForceFiltering = new wxCheckBox(m_GameConfig, ID_FORCEFILTERING, _("Force Filtering"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
||||||
EFBCopyDisable = new wxCheckBox(m_GameConfig, ID_EFBCOPYDISABLE, _("Disable Copy to EFB"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
EFBCopyEnable = new wxCheckBox(m_GameConfig, ID_EFBCOPYENABLE, _("Enable Copy to EFB"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
||||||
EFBToTextureEnable = new wxCheckBox(m_GameConfig, ID_EFBTOTEXTUREENABLE, _("Enable EFB To Texture"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
EFBToTextureEnable = new wxCheckBox(m_GameConfig, ID_EFBTOTEXTUREENABLE, _("Enable EFB To Texture"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
||||||
SafeTextureCache = new wxCheckBox(m_GameConfig, ID_SAFETEXTURECACHE, _("Safe Texture Cache"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
SafeTextureCache = new wxCheckBox(m_GameConfig, ID_SAFETEXTURECACHE, _("Safe Texture Cache"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
||||||
DstAlphaPass = new wxCheckBox(m_GameConfig, ID_DSTALPHAPASS, _("Distance Alpha Pass"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
DstAlphaPass = new wxCheckBox(m_GameConfig, ID_DSTALPHAPASS, _("Distance Alpha Pass"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER, wxDefaultValidator);
|
||||||
|
@ -373,7 +373,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
|
||||||
sbWiiOverrides->Add(EnableProgressiveScan, 0, wxEXPAND|wxLEFT, 5);
|
sbWiiOverrides->Add(EnableProgressiveScan, 0, wxEXPAND|wxLEFT, 5);
|
||||||
sbWiiOverrides->Add(EnableWideScreen, 0, wxEXPAND|wxLEFT, 5);
|
sbWiiOverrides->Add(EnableWideScreen, 0, wxEXPAND|wxLEFT, 5);
|
||||||
sbVideoOverrides->Add(ForceFiltering, 0, wxEXPAND|wxLEFT, 5);
|
sbVideoOverrides->Add(ForceFiltering, 0, wxEXPAND|wxLEFT, 5);
|
||||||
sbVideoOverrides->Add(EFBCopyDisable, 0, wxEXPAND|wxLEFT, 5);
|
sbVideoOverrides->Add(EFBCopyEnable, 0, wxEXPAND|wxLEFT, 5);
|
||||||
sbVideoOverrides->Add(EFBToTextureEnable, 0, wxEXPAND|wxLEFT, 5);
|
sbVideoOverrides->Add(EFBToTextureEnable, 0, wxEXPAND|wxLEFT, 5);
|
||||||
sbVideoOverrides->Add(SafeTextureCache, 0, wxEXPAND|wxLEFT, 5);
|
sbVideoOverrides->Add(SafeTextureCache, 0, wxEXPAND|wxLEFT, 5);
|
||||||
sbVideoOverrides->Add(DstAlphaPass, 0, wxEXPAND|wxLEFT, 5);
|
sbVideoOverrides->Add(DstAlphaPass, 0, wxEXPAND|wxLEFT, 5);
|
||||||
|
@ -874,10 +874,10 @@ void CISOProperties::LoadGameConfig()
|
||||||
else
|
else
|
||||||
ForceFiltering->Set3StateValue(wxCHK_UNDETERMINED);
|
ForceFiltering->Set3StateValue(wxCHK_UNDETERMINED);
|
||||||
|
|
||||||
if (GameIni.Get("Video", "EFBCopyDisable", &bTemp))
|
if (GameIni.Get("Video", "EFBCopyEnable", &bTemp))
|
||||||
EFBCopyDisable->Set3StateValue((wxCheckBoxState)bTemp);
|
EFBCopyEnable->Set3StateValue((wxCheckBoxState)bTemp);
|
||||||
else
|
else
|
||||||
EFBCopyDisable->Set3StateValue(wxCHK_UNDETERMINED);
|
EFBCopyEnable->Set3StateValue(wxCHK_UNDETERMINED);
|
||||||
|
|
||||||
if (GameIni.Get("Video", "EFBToTextureEnable", &bTemp))
|
if (GameIni.Get("Video", "EFBToTextureEnable", &bTemp))
|
||||||
EFBToTextureEnable->Set3StateValue((wxCheckBoxState)bTemp);
|
EFBToTextureEnable->Set3StateValue((wxCheckBoxState)bTemp);
|
||||||
|
@ -990,10 +990,10 @@ bool CISOProperties::SaveGameConfig()
|
||||||
else
|
else
|
||||||
GameIni.Set("Video", "ForceFiltering", ForceFiltering->Get3StateValue());
|
GameIni.Set("Video", "ForceFiltering", ForceFiltering->Get3StateValue());
|
||||||
|
|
||||||
if (EFBCopyDisable->Get3StateValue() == wxCHK_UNDETERMINED)
|
if (EFBCopyEnable->Get3StateValue() == wxCHK_UNDETERMINED)
|
||||||
GameIni.DeleteKey("Video", "EFBCopyDisable");
|
GameIni.DeleteKey("Video", "EFBCopyEnable");
|
||||||
else
|
else
|
||||||
GameIni.Set("Video", "EFBCopyDisable", EFBCopyDisable->Get3StateValue());
|
GameIni.Set("Video", "EFBCopyEnable", EFBCopyEnable->Get3StateValue());
|
||||||
|
|
||||||
if (EFBToTextureEnable->Get3StateValue() == wxCHK_UNDETERMINED)
|
if (EFBToTextureEnable->Get3StateValue() == wxCHK_UNDETERMINED)
|
||||||
GameIni.DeleteKey("Video", "EFBToTextureEnable");
|
GameIni.DeleteKey("Video", "EFBToTextureEnable");
|
||||||
|
|
|
@ -90,7 +90,7 @@ class CISOProperties : public wxDialog
|
||||||
wxCheckBox *EnableProgressiveScan, *EnableWideScreen;
|
wxCheckBox *EnableProgressiveScan, *EnableWideScreen;
|
||||||
// Video
|
// Video
|
||||||
wxCheckBox *ForceFiltering,
|
wxCheckBox *ForceFiltering,
|
||||||
*EFBCopyDisable, *EFBToTextureEnable,
|
*EFBCopyEnable, *EFBToTextureEnable,
|
||||||
*SafeTextureCache, *DstAlphaPass, *UseXFB, *UseZTPSpeedupHack,
|
*SafeTextureCache, *DstAlphaPass, *UseXFB, *UseZTPSpeedupHack,
|
||||||
*DListCache;
|
*DListCache;
|
||||||
wxStaticText *Hacktext;
|
wxStaticText *Hacktext;
|
||||||
|
@ -173,7 +173,7 @@ class CISOProperties : public wxDialog
|
||||||
ID_DISCSPEED,
|
ID_DISCSPEED,
|
||||||
ID_MERGEBLOCKS,
|
ID_MERGEBLOCKS,
|
||||||
ID_FORCEFILTERING,
|
ID_FORCEFILTERING,
|
||||||
ID_EFBCOPYDISABLE,
|
ID_EFBCOPYENABLE,
|
||||||
ID_EFBTOTEXTUREENABLE,
|
ID_EFBTOTEXTUREENABLE,
|
||||||
ID_SAFETEXTURECACHE,
|
ID_SAFETEXTURECACHE,
|
||||||
ID_DSTALPHAPASS,
|
ID_DSTALPHAPASS,
|
||||||
|
|
|
@ -130,7 +130,7 @@ void VideoConfig::GameIniLoad(const char *ini_file)
|
||||||
iniFile.Get("Video", "ForceFiltering", &bForceFiltering);
|
iniFile.Get("Video", "ForceFiltering", &bForceFiltering);
|
||||||
if (iniFile.Exists("Video", "MaxAnisotropy"))
|
if (iniFile.Exists("Video", "MaxAnisotropy"))
|
||||||
iniFile.Get("Video", "MaxAnisotropy", &iMaxAnisotropy); // NOTE - this is x in (1 << x)
|
iniFile.Get("Video", "MaxAnisotropy", &iMaxAnisotropy); // NOTE - this is x in (1 << x)
|
||||||
if (iniFile.Exists("Video", "EFBCopyDisable"))
|
if (iniFile.Exists("Video", "EFBCopyEnable"))
|
||||||
iniFile.Get("Video", "EFBCopyEnable", &bEFBCopyEnable);
|
iniFile.Get("Video", "EFBCopyEnable", &bEFBCopyEnable);
|
||||||
if (iniFile.Exists("Video", "EFBCopyDisableHotKey"))
|
if (iniFile.Exists("Video", "EFBCopyDisableHotKey"))
|
||||||
iniFile.Get("Video", "EFBCopyDisableHotKey", &bOSDHotKey);
|
iniFile.Get("Video", "EFBCopyDisableHotKey", &bOSDHotKey);
|
||||||
|
|
Loading…
Reference in New Issue