early-access version 3739

This commit is contained in:
pineappleEA
2023-07-04 04:25:11 +02:00
parent 6ff23ca431
commit a7399033f3
15 changed files with 784 additions and 178 deletions

View File

@@ -283,7 +283,8 @@ std::size_t RealVfsFile::GetSize() const {
if (size) {
return *size;
}
return FS::GetSize(path);
auto lk = base.RefreshReference(path, perms, *reference);
return reference->file ? reference->file->GetSize() : 0;
}
bool RealVfsFile::Resize(std::size_t new_size) {