From c7cce84274a8843f036a128fbb0185c84feaabc1 Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 9 Jan 2017 10:25:30 +1000 Subject: Add support for a user provided file system. --- src/gfile/gfile.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gfile/gfile.c') diff --git a/src/gfile/gfile.c b/src/gfile/gfile.c index a7731130..4bc39189 100644 --- a/src/gfile/gfile.c +++ b/src/gfile/gfile.c @@ -16,6 +16,9 @@ * Virtual file-systems that have special open() calls do not need to * be in this list. */ +#if GFILE_NEED_USERFS + extern const GFILEVMT FsUSERVMT; +#endif #if GFILE_NEED_ROMFS extern const GFILEVMT FsROMVMT; #endif @@ -35,6 +38,9 @@ * that they are searched to find a file. */ static const GFILEVMT const * FsArray[] = { + #if GFILE_NEED_USERFS + &FsUSERVMT, + #endif #if GFILE_NEED_ROMFS &FsROMVMT, #endif -- cgit v1.2.3