Deprecate HDD0/disc, make RPCS3/games movable (#13265)

This commit is contained in:
Elad Ashkenazi 2023-01-23 09:00:46 +02:00 committed by GitHub
parent 53cc067c17
commit 9a91fef337
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 33 additions and 14 deletions

View file

@ -3,6 +3,7 @@
#include "qt_utils.h"
#include "Emu/system_utils.hpp"
#include "Emu/VFS.h"
#include "Emu/vfs_config.h"
#include "Utilities/StrUtil.h"
#ifdef _WIN32
@ -95,7 +96,7 @@ namespace gui::utils
#ifdef _WIN32
else if (location == shortcut_location::rpcs3_shortcuts)
{
link_path = fs::get_config_dir() + "/games/shortcuts/";
link_path = g_cfg_vfs.get(g_cfg_vfs.games_dir, rpcs3::utils::get_emu_dir()) + "/shortcuts/";
fs::create_dir(link_path);
}
#endif