diff --git a/src/Vfs.cc b/src/Vfs.cc index 66850b6a..54782223 100644 --- a/src/Vfs.cc +++ b/src/Vfs.cc @@ -531,7 +531,7 @@ namespace zenkit { VfsFileDescriptor {mem.data(), mem.size(), false}, time.count())); #else - std::ifstream stream {host, std::ios::in | std::ios::ate | std::ios::binary}; + std::ifstream stream {path, std::ios::in | std::ios::ate | std::ios::binary}; auto size = stream.tellg(); stream.seekg(0);