Browse Source

[add] user fs vmt

Oleg Gerasimov 3 years ago
parent
commit
6717893997
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/gfile/gfile.c

+ 6 - 0
src/gfile/gfile.c

@@ -16,6 +16,9 @@
16 16
  * Virtual file-systems that have special open() calls do not need to
17 17
  * be in this list.
18 18
  */
19
+#if GFILE_NEED_USERFS
20
+	extern const GFILEVMT FsUSERVMT;
21
+#endif
19 22
 #if GFILE_NEED_ROMFS
20 23
 	extern const GFILEVMT FsROMVMT;
21 24
 #endif
@@ -35,6 +38,9 @@
35 38
  * that they are searched to find a file.
36 39
  */
37 40
 static const GFILEVMT const * FsArray[] = {
41
+	#if GFILE_NEED_USERFS
42
+		&FsUSERVMT,
43
+	#endif
38 44
 	#if GFILE_NEED_ROMFS
39 45
 		&FsROMVMT,
40 46
 	#endif