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
|
@ -125,19 +125,15 @@ patch_engine::patch_engine()
|
|||
|
||||
std::string patch_engine::get_patch_config_path()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
const std::string config_dir = fs::get_config_dir() + "config/";
|
||||
const std::string config_dir = fs::get_config_dir(true);
|
||||
const std::string patch_path = config_dir + "patch_config.yml";
|
||||
|
||||
#ifdef _WIN32
|
||||
if (!fs::create_path(config_dir))
|
||||
{
|
||||
patch_log.error("Could not create path: %s (%s)", patch_path, fs::g_tls_error);
|
||||
}
|
||||
|
||||
return patch_path;
|
||||
#else
|
||||
return fs::get_config_dir() + "patch_config.yml";
|
||||
#endif
|
||||
return patch_path;
|
||||
}
|
||||
|
||||
std::string patch_engine::get_patches_path()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue