Fix YAML::LoadFile mangling Unicode paths in Windows.

crashfix_debugdraw
Project579 2 years ago
parent 928b131564
commit c3175e371a

@ -124,7 +124,8 @@ namespace Settings
try
{
mData = YAML::LoadFile(Files::pathToUnicodeString(mPath));
std::ifstream file{mPath};
mData = YAML::Load(file);
mData.SetStyle(YAML::EmitterStyle::Block);
if (!mData["config"])

Loading…
Cancel
Save