all repos — mgba @ d20e64f96d4bd1b9ee9a91a656941e567195ece1

mGBA Game Boy Advance Emulator

VFS: Fix some minor VFile issues with FILEs
Jeffrey Pfau jeffrey@endrift.com
Wed, 11 Jan 2017 22:22:44 -0800
commit

d20e64f96d4bd1b9ee9a91a656941e567195ece1

parent

dc96bdda851d9b5bd9b8c6c17d5aacd4044ba3a0

3 files changed, 6 insertions(+), 2 deletions(-)

jump to
M CHANGESCHANGES

@@ -45,6 +45,7 @@ - Qt: Improved HiDPI support

- 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:
M include/mgba-util/vfs.hinclude/mgba-util/vfs.h

@@ -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);
M src/platform/3ds/CMakeLists.txtsrc/platform/3ds/CMakeLists.txt

@@ -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)