mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-08 03:33:14 +00:00
Fix support for unicode paths for game install directories (#2699)
* Slightly changed how allInstallDirsDisabled is determined * Show a dialog only if no game directories are set * Changed a comment * Fixed formatting * Support for unicode paths for game install directories * Fixed game picture path conversion
This commit is contained in:
parent
751a23af0f
commit
78c8bca2bb
3 changed files with 4 additions and 3 deletions
|
@ -817,7 +817,7 @@ void SettingsDialog::ResetInstallFolders() {
|
|||
if (data.contains("GUI")) {
|
||||
const toml::value& gui = data.at("GUI");
|
||||
const auto install_dir_array =
|
||||
toml::find_or<std::vector<std::string>>(gui, "installDirs", {});
|
||||
toml::find_or<std::vector<std::u8string>>(gui, "installDirs", {});
|
||||
|
||||
std::vector<bool> install_dirs_enabled;
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue