_wfopen -> xe::filesystem::OpenFile.

Progress on #305.
This commit is contained in:
Ben Vanik
2015-06-28 17:16:44 -07:00
parent 1d7606097a
commit 1106029afc
9 changed files with 28 additions and 14 deletions

View File

@@ -27,7 +27,7 @@ bool TraceWriter::Open(const std::wstring& path) {
auto base_path = xe::find_base_path(canonical_path);
xe::filesystem::CreateFolder(base_path);
file_ = _wfopen(canonical_path.c_str(), L"wb");
file_ = xe::filesystem::OpenFile(canonical_path, "wb");
return file_ != nullptr;
}