summaryrefslogtreecommitdiff
path: root/src/fs/virtfs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-27 20:16:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-27 20:34:10 +0300
commit07584b8e1748893f6f0a3464b7181a6dc80bddbc (patch)
tree986bd31f2a7eb6b414e4cab04115eab20ddbb357 /src/fs/virtfs.cpp
parent8676d623ec8f395194f4a9e93cfbbccc969a0d03 (diff)
downloadplus-07584b8e1748893f6f0a3464b7181a6dc80bddbc.tar.gz
plus-07584b8e1748893f6f0a3464b7181a6dc80bddbc.tar.bz2
plus-07584b8e1748893f6f0a3464b7181a6dc80bddbc.tar.xz
plus-07584b8e1748893f6f0a3464b7181a6dc80bddbc.zip
Use own base and user dirs in virtfs.
Diffstat (limited to 'src/fs/virtfs.cpp')
-rw-r--r--src/fs/virtfs.cpp6
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)