You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bool UnmountPhysFS(const char* oldDir); // Unmounts the given directory
59
59
bool FileExistsInPhysFS(const char* fileName); // Check if the given file exists in PhysFS
60
60
bool DirectoryExistsInPhysFS(const char* dirPath); // Check if the given directory exists in PhysFS
61
-
unsigned char* LoadFileDataFromPhysFS(const char* fileName, unsigned int* bytesRead); // Load a data buffer from PhysFS (memory should be freed)
61
+
unsigned char* LoadFileDataFromPhysFS(const char* fileName, int* bytesRead); // Load a data buffer from PhysFS (memory should be freed)
62
62
char* LoadFileTextFromPhysFS(const char* fileName); // Load text from a file (memory should be freed)
63
63
bool SetPhysFSWriteDirectory(const char* newDir); // Set the base directory where PhysFS should write files to (defaults to the current working directory)
64
-
bool SaveFileDataToPhysFS(const char* fileName, void* data, unsigned int bytesToWrite); // Save the given file data in PhysFS
64
+
bool SaveFileDataToPhysFS(const char* fileName, void* data, int bytesToWrite); // Save the given file data in PhysFS
65
65
bool SaveFileTextToPhysFS(const char* fileName, char* text); // Save the given file text in PhysFS
66
66
FilePathList LoadDirectoryFilesFromPhysFS(const char* dirPath); // Get filenames in a directory path (memory should be freed)
67
67
long GetFileModTimeFromPhysFS(const char* fileName); // Get file modification time (last write time) from PhysFS
0 commit comments