mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Correct host0: mount
This commit is contained in:
1 parent
b437ba0fc6
commit
786a1530de
13 files changed
+63
-47
No files matched your search
@@ -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