diff options
Diffstat (limited to 'src/core/hle/service/cfg_u.cpp')
-rw-r--r-- | src/core/hle/service/cfg_u.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/service/cfg_u.cpp b/src/core/hle/service/cfg_u.cpp index 553045437..ee97cf3e5 100644 --- a/src/core/hle/service/cfg_u.cpp +++ b/src/core/hle/service/cfg_u.cpp @@ -390,10 +390,11 @@ Interface::Interface() { FileSys::Path path("config"); auto file = cfg_system_save_data->OpenFile(path, mode); - // Don't do anything if the file already exists - if (file != nullptr) + // Load the config if it already exists + if (file != nullptr) { + file->Read(0, CONFIG_SAVEFILE_SIZE, cfg_config_file_buffer.data()); return; - + } FormatConfig(); } |