mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-12 13:08:50 +01:00
[util] Use topath helper for fstreams
This commit is contained in:
parent
5de058e14a
commit
50018de483
@ -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;
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user