summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2017-08-12 22:35:41 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2017-11-17 22:11:30 -0600
commita71bc9ebbf34ba815da8f38b55933abc25f32379 (patch)
tree592c18d3a63c455a3ee70c0cdab6659c4c6fefce
parente33ab4117d68aae9a7406ca4738e9c429200bf17 (diff)
Move XFB UI option to be under XFB group
-rw-r--r--Source/Core/DolphinWX/VideoConfigDiag.cpp20
1 files changed, 15 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/VideoConfigDiag.cpp b/Source/Core/DolphinWX/VideoConfigDiag.cpp
index c33227b98b..ef888a0dca 100644
--- a/Source/Core/DolphinWX/VideoConfigDiag.cpp
+++ b/Source/Core/DolphinWX/VideoConfigDiag.cpp
@@ -717,11 +717,6 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string& title)
Config::GFX_HACK_SKIP_EFB_COPY_TO_RAM),
0, wxLEFT | wxRIGHT, space5);
szr_efb->AddSpacer(space5);
- szr_efb->Add(CreateCheckBox(page_hacks, _("Store XFB Copies to Texture Only"),
- wxGetTranslation(skip_xfb_copy_to_ram_desc),
- Config::GFX_HACK_SKIP_XFB_COPY_TO_RAM),
- 0, wxLEFT | wxRIGHT, space5);
- szr_efb->AddSpacer(space5);
szr_hacks->AddSpacer(space5);
szr_hacks->Add(szr_efb, 0, wxEXPAND | wxLEFT | wxRIGHT, space5);
@@ -780,6 +775,21 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string& title)
szr_hacks->Add(szr_safetex, 0, wxEXPAND | wxLEFT | wxRIGHT, space5);
}
+ // - XFB
+ {
+ wxStaticBoxSizer* const group_xfb =
+ new wxStaticBoxSizer(wxVERTICAL, page_hacks, _("External Frame Buffer (XFB)"));
+
+ group_xfb->Add(CreateCheckBox(page_hacks, _("Store XFB Copies to Texture Only"),
+ wxGetTranslation(skip_xfb_copy_to_ram_desc),
+ Config::GFX_HACK_SKIP_XFB_COPY_TO_RAM),
+ 0, wxLEFT | wxRIGHT, space5);
+ group_xfb->AddSpacer(space5);
+
+ szr_hacks->AddSpacer(space5);
+ szr_hacks->Add(group_xfb, 0, wxEXPAND | wxLEFT | wxRIGHT, space5);
+ } // xfb
+
// - other hacks
{
wxGridSizer* const szr_other = new wxGridSizer(2, space5, space5);