mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Core] Fix config resetting
This commit is contained in:
parent
df7146818d
commit
a180813fcf
|
|
@ -42,6 +42,9 @@ std::shared_ptr<cpptoml::table> ParseFile(
|
||||||
XELOGI("Loading config: {}\n{}", xe::path_to_utf8(filename), config_content);
|
XELOGI("Loading config: {}\n{}", xe::path_to_utf8(filename), config_content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file.clear();
|
||||||
|
file.seekg(0);
|
||||||
|
|
||||||
cpptoml::parser p(file);
|
cpptoml::parser p(file);
|
||||||
return p.parse();
|
return p.parse();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue