From ab44ebd7e0239047312bc4cab2185fb4d04a82c7 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Tue, 23 Jan 2018 07:07:18 +0100 Subject: [PATCH] PCSX2: Add configurable Cheats folder to Components Selectors. Add GUI option to Plugins Components Selectors to change the default "Cheats" folder location. Similar to savestates/logs/..etc. --- pcsx2/gui/Panels/PathsPanel.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pcsx2/gui/Panels/PathsPanel.cpp b/pcsx2/gui/Panels/PathsPanel.cpp index e9c5cf5eff..afdf68153d 100644 --- a/pcsx2/gui/Panels/PathsPanel.cpp +++ b/pcsx2/gui/Panels/PathsPanel.cpp @@ -33,6 +33,14 @@ Panels::BasePathsPanel::BasePathsPanel( wxWindow* parent ) Panels::StandardPathsPanel::StandardPathsPanel( wxWindow* parent ) : BasePathsPanel( parent ) { + *this += BetweenFolderSpace; + *this += (new DirPickerPanel( this, FolderId_Cheats, + _("Cheats:"), + _("Select folder for Cheats") ))-> + SetToolTip( pxEt( L"This folder is where PCSX2 loads cheats from." + ) + ) | SubGroup(); + *this += BetweenFolderSpace; *this += (new DirPickerPanel( this, FolderId_Savestates, _("Savestates:"),