summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@googlemail.com>2010-12-20 15:57:26 +0000
committerNeoBrainX <NeoBrainX@googlemail.com>2010-12-20 15:57:26 +0000
commit83868566ea7bb53d9c16d9845340c46a7fd920b9 (patch)
treee07706f498d30d98d8562bf353a98fe590d744a6 /Source/Core
parent60ed57b32adaf2337036d006ed9c6e58233df4ef (diff)
Forgot committing the changes to VideoConfigDiag.h in r6625...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6626 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoUICommon/Src/VideoConfigDiag.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/Core/VideoUICommon/Src/VideoConfigDiag.h b/Source/Core/VideoUICommon/Src/VideoConfigDiag.h
index 16465563f0..d1d212709a 100644
--- a/Source/Core/VideoUICommon/Src/VideoConfigDiag.h
+++ b/Source/Core/VideoUICommon/Src/VideoConfigDiag.h
@@ -60,16 +60,33 @@ protected:
{
efbcopy_texture->Disable();
efbcopy_ram->Disable();
+ cache_efb_copies->Disable();
}
else
{
efbcopy_texture->Enable();
if (vconfig.backend_info.bSupportsEFBToRAM)
+ {
efbcopy_ram->Enable();
+ if (!vconfig.bCopyEFBToTexture)
+ cache_efb_copies->Enable();
+ }
}
ev.Skip();
}
+ void Event_EfbCopyToTexture(wxCommandEvent &ev)
+ {
+ cache_efb_copies->Disable();
+ ev.Skip();
+ }
+
+ void Event_EfbCopyToRam(wxCommandEvent &ev)
+ {
+ cache_efb_copies->Enable();
+ ev.Skip();
+ }
+
void Event_Stc(wxCommandEvent &ev)
{
if (ev.GetInt() == 0)
@@ -124,6 +141,7 @@ protected:
SettingRadioButton* efbcopy_texture;
SettingRadioButton* efbcopy_ram;
+ SettingCheckBox* cache_efb_copies;
SettingRadioButton* virtual_xfb;
SettingRadioButton* real_xfb;