FileSystem: Make OpenSharedCFile() wrap OpenCFile() on non-Windows

This commit is contained in:
Stenzek
2026-10-10 21:47:40 +10:00
parent 659ff37089
commit 60aec342eb
+1 -4
View File
@@ -1132,10 +1132,7 @@ std::FILE* FileSystem::OpenSharedCFile(const char* path, const char* mode, FileS
Error::SetErrno(error, errno);
return nullptr;
#else
std::FILE* fp = std::fopen(path, mode);
if (!fp)
Error::SetErrno(error, errno);
return fp;
return OpenCFile(path, mode, error);
#endif
}