mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
(Windows) Converted forward slashes to backslashes for a log message
This commit is contained in:
parent
5ca8009038
commit
b27f1fcd25
|
@ -833,13 +833,15 @@ void SystemData::loadSortingConfig()
|
|||
}
|
||||
|
||||
for (auto& path : paths) {
|
||||
LOG(LogInfo) << "Parsing systems sorting file \"" << path << "\"...";
|
||||
|
||||
pugi::xml_document doc;
|
||||
#if defined(_WIN64)
|
||||
LOG(LogInfo) << "Parsing systems sorting file \"" << Utils::String::replace(path, "/", "\\")
|
||||
<< "\"...";
|
||||
pugi::xml_document doc;
|
||||
const pugi::xml_parse_result& res {
|
||||
doc.load_file(Utils::String::stringToWideString(path).c_str())};
|
||||
#else
|
||||
LOG(LogInfo) << "Parsing systems sorting file \"" << path << "\"...";
|
||||
pugi::xml_document doc;
|
||||
const pugi::xml_parse_result& res {doc.load_file(path.c_str())};
|
||||
#endif
|
||||
if (!res) {
|
||||
|
|
Loading…
Reference in a new issue