mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
windows: move config.yml and games.yml to /config/
This commit is contained in:
parent
5c2c4a6649
commit
451e953d26
20 changed files with 76 additions and 94 deletions
|
@ -2021,7 +2021,7 @@ std::string fs::get_executable_dir()
|
|||
return s_exe_dir;
|
||||
}
|
||||
|
||||
const std::string& fs::get_config_dir()
|
||||
const std::string& fs::get_config_dir([[maybe_unused]] bool get_config_subdirectory)
|
||||
{
|
||||
// Use magic static
|
||||
static const std::string s_dir = []
|
||||
|
@ -2103,6 +2103,14 @@ const std::string& fs::get_config_dir()
|
|||
return dir;
|
||||
}();
|
||||
|
||||
#ifdef _WIN32
|
||||
if (get_config_subdirectory)
|
||||
{
|
||||
static const std::string subdir = s_dir + "config/";
|
||||
return subdir;
|
||||
}
|
||||
#endif
|
||||
|
||||
return s_dir;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue