diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-27 20:16:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-27 20:34:10 +0300 |
commit | 07584b8e1748893f6f0a3464b7181a6dc80bddbc (patch) | |
tree | 986bd31f2a7eb6b414e4cab04115eab20ddbb357 /src/fs | |
parent | 8676d623ec8f395194f4a9e93cfbbccc969a0d03 (diff) | |
download | mv-07584b8e1748893f6f0a3464b7181a6dc80bddbc.tar.gz mv-07584b8e1748893f6f0a3464b7181a6dc80bddbc.tar.bz2 mv-07584b8e1748893f6f0a3464b7181a6dc80bddbc.tar.xz mv-07584b8e1748893f6f0a3464b7181a6dc80bddbc.zip |
Use own base and user dirs in virtfs.
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/virtfs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/virtfs.cpp b/src/fs/virtfs.cpp index 6aee3b76a..821adac84 100644 --- a/src/fs/virtfs.cpp +++ b/src/fs/virtfs.cpp @@ -20,6 +20,7 @@ #include "fs/virtfs.h" +#include "fs/virtfsdir.h" #include "fs/virtfsphys.h" #include "fs/virtfile.h" #include "fs/virtfsfuncs.h" @@ -34,6 +35,7 @@ namespace VirtFs void init(const std::string &restrict name) { VirtFsPhys::init(name); + VirtFsDir::init(name); updateDirSeparator(); } @@ -53,12 +55,12 @@ namespace VirtFs const char *getBaseDir() { - return VirtFsPhys::getBaseDir(); + return VirtFsDir::getBaseDir(); } const char *getUserDir() { - return VirtFsPhys::getUserDir(); + return VirtFsDir::getUserDir(); } bool exists(const std::string &restrict name) |