summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/client.cpp2
-rw-r--r--src/dyetool/dyemain.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index d2ace1a36..19ad331a3 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -182,7 +182,7 @@ void Client::gameInit()
#endif // ANDROID
ResourceManager::init();
- if (!resourceManager->setWriteDir(settings.localDataDir))
+ if (!VirtFs::setWriteDir(settings.localDataDir))
{
logger->error(strprintf("%s couldn't be set as home directory! "
"Exiting.", settings.localDataDir.c_str()));
diff --git a/src/dyetool/dyemain.cpp b/src/dyetool/dyemain.cpp
index 27b159a70..433233143 100644
--- a/src/dyetool/dyemain.cpp
+++ b/src/dyetool/dyemain.cpp
@@ -87,7 +87,7 @@ int main(int argc, char **argv)
#endif // USE_SDL2
ResourceManager::init();
- resourceManager->setWriteDir(".");
+ VirtFs::setWriteDir(".");
VirtFs::addDirToSearchPath(".", Append_false);
VirtFs::addDirToSearchPath("/", Append_false);
std::string src = argv[1];