mirror of https://github.com/PCSX2/pcsx2.git
WX: Make texture dump location configurable
This commit is contained in:
parent
75bc680934
commit
7a628f1a12
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue