summaryrefslogtreecommitdiff
path: root/src/resources/loaders/soundloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/loaders/soundloader.cpp')
-rw-r--r--src/resources/loaders/soundloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/loaders/soundloader.cpp b/src/resources/loaders/soundloader.cpp
index 569d2dfbe..71ceca8bd 100644
--- a/src/resources/loaders/soundloader.cpp
+++ b/src/resources/loaders/soundloader.cpp
@@ -27,7 +27,7 @@
#include "resources/resourcemanager/resourcemanager.h"
#include "utils/checkutils.h"
-#include "utils/physfsrwops.h"
+#include "utils/virtfsrwops.h"
#include "debug.h"
@@ -45,7 +45,7 @@ namespace
return nullptr;
const ResourceLoader *const
rl = static_cast<const ResourceLoader *const>(v);
- SDL_RWops *const rw = MPHYSFSRWOPS_openRead(rl->path.c_str());
+ SDL_RWops *const rw = VirtFs::RWopsOpenRead(rl->path.c_str());
if (!rw)
{
reportAlways("Physfs error: %s", VirtFs::getLastError());