Skip to content

Commit 1ae9486

Browse files
committed
Fix Windows
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent d4fc317 commit 1ae9486

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MarathonRecomp/kernel/io/file_system.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ FileHandle* XCreateFileA
112112
fileStream.open(filePath, fileOpenMode);
113113

114114
if (!fileStream.is_open()) {
115-
std::filesystem::path cachedPath = FindInPathCache(filePath);
115+
std::filesystem::path cachedPath = FindInPathCache(filePath.string());
116116
if (!cachedPath.empty()) {
117117
fileStream.open(cachedPath, fileOpenMode);
118118
}

0 commit comments

Comments
 (0)