Correct host0: mount

This commit is contained in:
Henrik Rydgård
2026-08-24 09:30:44 +02:00
parent b437ba0fc6
commit 786a1530de
13 changed files with 63 additions and 47 deletions
+4 -2
View File
@@ -466,8 +466,10 @@ size_t DirectoryFileHandle::Seek(s32 position, FileMove type)
LARGE_INTEGER distance;
distance.QuadPart = position;
LARGE_INTEGER cursor;
SetFilePointerEx(hFile, distance, &cursor, moveMethod);
LARGE_INTEGER cursor{};
if (!SetFilePointerEx(hFile, distance, &cursor, moveMethod)) {
ERROR_LOG(Log::IO, "DirectoryFileHandle::Seek(%d, %d) failed", position, (int)type);
}
result = (size_t)cursor.QuadPart;
#else
int moveMethod = 0;