mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-08-31 09:45:24 +02:00
Correct host0: mount
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user