mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00: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
|
|
@ -59,11 +59,7 @@ namespace np
|
|||
{
|
||||
std::string get_players_history_path()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return fs::get_config_dir() + "config/players_history.yml";
|
||||
#else
|
||||
return fs::get_config_dir() + "players_history.yml";
|
||||
#endif
|
||||
return fs::get_config_dir(true) + "players_history.yml";
|
||||
}
|
||||
|
||||
std::map<std::string, player_history> load_players_history()
|
||||
|
|
@ -1440,7 +1436,7 @@ namespace np
|
|||
void np_handler::save_players_history()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
const std::string path_to_cfg = fs::get_config_dir() + "config/";
|
||||
const std::string path_to_cfg = fs::get_config_dir(true);
|
||||
if (!fs::create_path(path_to_cfg))
|
||||
{
|
||||
nph_log.error("Could not create path: %s", path_to_cfg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue