summaryrefslogtreecommitdiff
path: root/src/resources/loaders
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-10 20:16:03 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-10 20:47:24 +0300
commit6c9c56b70db43f4100863d312835fce763698008 (patch)
tree4a182019f18677c1b71202a79d8f4faceebe05c9 /src/resources/loaders
parent5e7866bd7cc3bf850d9ba3e636d8eca88ac797c7 (diff)
downloadmv-6c9c56b70db43f4100863d312835fce763698008.tar.gz
mv-6c9c56b70db43f4100863d312835fce763698008.tar.bz2
mv-6c9c56b70db43f4100863d312835fce763698008.tar.xz
mv-6c9c56b70db43f4100863d312835fce763698008.zip
Rename physfstools into virtfs.
Diffstat (limited to 'src/resources/loaders')
-rw-r--r--src/resources/loaders/imageloader.cpp2
-rw-r--r--src/resources/loaders/musicloader.cpp2
-rw-r--r--src/resources/loaders/soundloader.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/loaders/imageloader.cpp b/src/resources/loaders/imageloader.cpp
index 21e7479f4..4fada1f44 100644
--- a/src/resources/loaders/imageloader.cpp
+++ b/src/resources/loaders/imageloader.cpp
@@ -67,7 +67,7 @@ namespace
{
delete d;
reportAlways("Image loading error: %s", path1.c_str());
- reportAlways("Physfs error: %s", PhysFs::getLastError());
+ reportAlways("Physfs error: %s", VirtFs::getLastError());
BLOCK_END("DyedImageLoader::load")
return nullptr;
}
diff --git a/src/resources/loaders/musicloader.cpp b/src/resources/loaders/musicloader.cpp
index 4610911bb..7b0cda647 100644
--- a/src/resources/loaders/musicloader.cpp
+++ b/src/resources/loaders/musicloader.cpp
@@ -48,7 +48,7 @@ namespace
SDL_RWops *const rw = MPHYSFSRWOPS_openRead(rl->path.c_str());
if (!rw)
{
- reportAlways("Physfs error: %s", PhysFs::getLastError());
+ reportAlways("Physfs error: %s", VirtFs::getLastError());
reportAlways("Error loading resource: %s",
rl->path.c_str());
return nullptr;
diff --git a/src/resources/loaders/soundloader.cpp b/src/resources/loaders/soundloader.cpp
index 0934c1852..569d2dfbe 100644
--- a/src/resources/loaders/soundloader.cpp
+++ b/src/resources/loaders/soundloader.cpp
@@ -48,7 +48,7 @@ namespace
SDL_RWops *const rw = MPHYSFSRWOPS_openRead(rl->path.c_str());
if (!rw)
{
- reportAlways("Physfs error: %s", PhysFs::getLastError());
+ reportAlways("Physfs error: %s", VirtFs::getLastError());
reportAlways("Error loading resource: %s",
rl->path.c_str());
return nullptr;