diff --git a/src/fs.c b/src/fs.c index 3f10815..788a34b 100644 --- a/src/fs.c +++ b/src/fs.c @@ -674,7 +674,7 @@ void fsMakeDir(FileSystem* fs, const char* name) #if defined(__WINDOWS__) || defined(__LINUX__) || defined(__MACOSX__) -int fsOpenSystemPath(FileSystem* fs, const char* path) +s32 fsOpenSystemPath(FileSystem* fs, const char* path) { char command[FILENAME_MAX]; @@ -697,7 +697,10 @@ int fsOpenSystemPath(FileSystem* fs, const char* path) #else -void fsOpenSystemPath(FileSystem* fs, const char* path) {} +s32 fsOpenSystemPath(FileSystem* fs, const char* path) +{ + return 0; +} #endif diff --git a/src/fs.h b/src/fs.h index ba19168..ce3f036 100644 --- a/src/fs.h +++ b/src/fs.h @@ -67,7 +67,7 @@ bool fsCopyFile(const char* src, const char* dst); void fsGetFileData(GetCallback callback, const char* name, void* buffer, size_t size, u32 mode, void* data); void fsOpenFileData(OpenCallback callback, void* data); void fsOpenWorkingFolder(FileSystem* fs); -int fsOpenSystemPath(FileSystem* fs, const char* path); +s32 fsOpenSystemPath(FileSystem* fs, const char* path); bool fsIsDir(FileSystem* fs, const char* dir); bool fsIsInPublicDir(FileSystem* fs); bool fsChangeDir(FileSystem* fs, const char* dir);