mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 22:40:29 +02:00
Switch to file descriptors instead of FILE *.
This allows us to support the io modes more accurately, not truncating for create/write, etc.
This commit is contained in:
1 parent
0ebce17e7f
commit
9293bb17b9
2 files changed
+25
-38
No files matched your search
@@ -62,14 +62,14 @@ struct DirectoryFileHandle
|
||||
#ifdef _WIN32
|
||||
HANDLE hFile;
|
||||
#else
|
||||
FILE* hFile;
|
||||
int hFile;
|
||||
#endif
|
||||
DirectoryFileHandle()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
hFile = (HANDLE)-1;
|
||||
#else
|
||||
hFile = 0;
|
||||
hFile = -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user