diff --git a/pcsx2/gui/AppConfig.cpp b/pcsx2/gui/AppConfig.cpp index 7198da5980..98eb9817e0 100644 --- a/pcsx2/gui/AppConfig.cpp +++ b/pcsx2/gui/AppConfig.cpp @@ -536,8 +536,8 @@ void AppConfig::FolderOptions::Set(FoldersEnum_t folderidx, const wxString& src, break; case FolderId_Textures: - Cache = src; - UseDefaultCache = useDefault; + Textures = src; + UseDefaultTextures = useDefault; EmuFolders::Textures = GetResolvedFolder(FolderId_Textures); EmuFolders::Textures.Mkdir(); break; @@ -775,6 +775,7 @@ void AppConfig::FolderOptions::LoadSave(IniInterface& ini) IniBitBool(UseDefaultLangs); IniBitBool(UseDefaultCheats); IniBitBool(UseDefaultCheatsWS); + IniBitBool(UseDefaultTextures); //when saving in portable mode, we save relative paths if possible // --> on load, these relative paths will be expanded relative to the exe folder. @@ -789,6 +790,7 @@ void AppConfig::FolderOptions::LoadSave(IniInterface& ini) IniEntryDirFile(Cheats, rel); IniEntryDirFile(CheatsWS, rel); IniEntryDirFile(Cache, rel); + IniEntryDirFile(Textures, rel); IniEntryDirFile(RunIso, rel); IniEntryDirFile(RunELF, rel); diff --git a/pcsx2/gui/Panels/PathsPanel.cpp b/pcsx2/gui/Panels/PathsPanel.cpp index 7f4594bd5f..c35fd2c791 100644 --- a/pcsx2/gui/Panels/PathsPanel.cpp +++ b/pcsx2/gui/Panels/PathsPanel.cpp @@ -60,6 +60,14 @@ Panels::StandardPathsPanel::StandardPathsPanel( wxWindow* parent ) ) ) | SubGroup(); + *this += BetweenFolderSpace; + *this += (new DirPickerPanel( this, FolderId_Textures, + _("Textures:"), + _("Select a folder for textures") ))-> + SetToolTip( pxEt( L"This folder is where PCSX2 saves texture dumps and replacements." + ) + ) | SubGroup(); + /* *this += BetweenFolderSpace; *this += (new DirPickerPanel( this, FolderId_MemoryCards,