rename fs::stat to fs::get_stat

This commit is contained in:
oltolm 2023-07-18 23:30:36 +02:00 committed by Elad Ashkenazi
parent 73c3d5fc81
commit bc40b61ef1
10 changed files with 17 additions and 17 deletions

View file

@ -277,7 +277,7 @@ void Emulator::Init()
const std::string cfg_path = fs::get_config_dir() + "/config.yml";
// Save new global config if it doesn't exist or is empty
if (fs::stat_t info{}; !fs::stat(cfg_path, info) || info.size == 0)
if (fs::stat_t info{}; !fs::get_stat(cfg_path, info) || info.size == 0)
{
Emulator::SaveSettings(g_cfg_defaults, {});
}