summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-28 04:10:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-28 04:10:23 +0300
commit6ff6d6928328ff2110f028a374ade49415d5a0ba (patch)
tree4337ddc2e83368a2d606b97df08dc206e002ac67 /src/resources
parent475aea387f846561d5029807f804ff789d59e69f (diff)
downloadmanaplus-6ff6d6928328ff2110f028a374ade49415d5a0ba.tar.gz
manaplus-6ff6d6928328ff2110f028a374ade49415d5a0ba.tar.bz2
manaplus-6ff6d6928328ff2110f028a374ade49415d5a0ba.tar.xz
manaplus-6ff6d6928328ff2110f028a374ade49415d5a0ba.zip
Remove physfs support.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/atlas/atlasmanager.cpp4
-rw-r--r--src/resources/loaders/imageloader.cpp1
-rw-r--r--src/resources/loaders/musicloader.cpp1
-rw-r--r--src/resources/loaders/soundloader.cpp1
4 files changed, 0 insertions, 7 deletions
diff --git a/src/resources/atlas/atlasmanager.cpp b/src/resources/atlas/atlasmanager.cpp
index 46894b24b..768b6db7e 100644
--- a/src/resources/atlas/atlasmanager.cpp
+++ b/src/resources/atlas/atlasmanager.cpp
@@ -167,10 +167,6 @@ void AtlasManager::loadImages(const StringVect &files,
images.push_back(image);
}
}
- else
- {
- reportAlways("Physfs error: %s", VirtFs::getLastError());
- }
delete d;
}
BLOCK_END("AtlasManager::loadImages")
diff --git a/src/resources/loaders/imageloader.cpp b/src/resources/loaders/imageloader.cpp
index 3a4909d94..e141afa2d 100644
--- a/src/resources/loaders/imageloader.cpp
+++ b/src/resources/loaders/imageloader.cpp
@@ -69,7 +69,6 @@ namespace
{
delete d;
reportAlways("Image loading error: %s", path1.c_str());
- 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 ee464ae48..bb1415dcc 100644
--- a/src/resources/loaders/musicloader.cpp
+++ b/src/resources/loaders/musicloader.cpp
@@ -50,7 +50,6 @@ namespace
SDL_RWops *const rw = VirtFs::RWopsOpenRead(rl->path);
if (!rw)
{
- 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 cbc0cbde9..93e7c38f9 100644
--- a/src/resources/loaders/soundloader.cpp
+++ b/src/resources/loaders/soundloader.cpp
@@ -50,7 +50,6 @@ namespace
SDL_RWops *const rw = VirtFs::RWopsOpenRead(rl->path);
if (!rw)
{
- reportAlways("Physfs error: %s", VirtFs::getLastError());
reportAlways("Error loading resource: %s",
rl->path.c_str());
return nullptr;