From 83868566ea7bb53d9c16d9845340c46a7fd920b9 Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Mon, 20 Dec 2010 15:57:26 +0000 Subject: [PATCH] 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 --- .../Core/VideoUICommon/Src/VideoConfigDiag.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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;