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;