diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index a80df9ce..151fc054 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -889,7 +889,7 @@ namespace dxvk { filePath = "dxvk.conf"; // Open the file if it exists - std::ifstream stream(str::tows(filePath.c_str()).c_str()); + std::ifstream stream(str::topath(filePath.c_str()).c_str()); if (!stream) return config; diff --git a/src/util/log/log.cpp b/src/util/log/log.cpp index 59c9e605..b3eaa37a 100644 --- a/src/util/log/log.cpp +++ b/src/util/log/log.cpp @@ -10,7 +10,7 @@ namespace dxvk { auto path = getFileName(file_name); if (!path.empty()) - m_fileStream = std::ofstream(str::tows(path.c_str()).c_str()); + m_fileStream = std::ofstream(str::topath(path.c_str()).c_str()); } }