Skip to content

Commit

Permalink
VFS: Fix some minor VFile issues with FILEs
Browse files Browse the repository at this point in the history
  • Loading branch information
endrift committed Jan 12, 2017
1 parent dc96bdd commit d20e64f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Misc:
- Qt: Expose configuration directory
- Feature: Move game database from flatfile to SQLite3
- GB Audio: Start implementing "zombie" audio (fixes mgba.io/i/389)
- VFS: Fix some minor VFile issues with FILEs

0.5.2: (2016-12-31)
Bugfixes:
Expand Down
5 changes: 4 additions & 1 deletion include/mgba-util/vfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,12 @@ struct VDir* VDirOpen7z(const char* path, int flags);
#endif

#if defined(__wii__) || defined(_3DS)
struct VDir* VDeviceList(void);
#endif

#ifdef USE_VFS_FILE
struct VFile* VFileFOpen(const char* path, const char* mode);
struct VFile* VFileFromFILE(FILE* file);
struct VDir* VDeviceList(void);
#endif

void separatePath(const char* path, char* dirname, char* basename, char* extension);
Expand Down
2 changes: 1 addition & 1 deletion src/platform/3ds/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(USE_VFS_3DS ON CACNE BOOL "Use 3DS-specific file support")
set(USE_VFS_3DS ON CACHE BOOL "Use 3DS-specific file support")
mark_as_advanced(USE_VFS_3DS)

find_program(3DSLINK 3dslink)
Expand Down

0 comments on commit d20e64f

Please sign in to comment.