summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-13 15:08:35 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-13 15:08:35 +0300
commit20ba8c348fe5e4d3af16fd3775e74d2200a53b98 (patch)
treedc7d38b16739914d55c806be92acf5481424e979 /src/dyetool
parent24b94584fdb1809c1e66c3c92eb5613176798da2 (diff)
downloadmv-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.tar.gz
mv-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.tar.bz2
mv-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.tar.xz
mv-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.zip
Remove ResourceManager::setWriteDir.
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];