From 4d3c700bf736def3c55f7e03c175e2e43ed3db02 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Feb 2017 21:57:08 +0300 Subject: Rename physfsrwops into virtfsrwops. --- src/integrity_unittest.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/integrity_unittest.cc') diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc index 86317dc40..a907ca5fb 100644 --- a/src/integrity_unittest.cc +++ b/src/integrity_unittest.cc @@ -39,7 +39,7 @@ #include "resources/resourcemanager/resourcemanager.h" #include "utils/env.h" -#include "utils/physfsrwops.h" +#include "utils/virtfsrwops.h" #include @@ -240,7 +240,7 @@ TEST_CASE("integrity tests", "integrity") resourceManager->addToSearchPath("data/test/test.zip", Append_false); resourceManager->addToSearchPath("../data/test/test.zip", Append_false); - SDL_RWops *const rw = PHYSFSRWOPS_openRead(name1); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); if (!rw) logger->log("Physfs error: %s", VirtFs::getLastError()); resourceManager->removeFromSearchPath("data/test/test.zip"); @@ -403,7 +403,7 @@ TEST_CASE("integrity tests", "integrity") resourceManager->addToSearchPath("data/test/test.zip", Append_false); resourceManager->addToSearchPath("../data/test/test.zip", Append_false); - SDL_RWops *const rw = PHYSFSRWOPS_openRead(name1); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); if (!rw) logger->log("Physfs error: %s", VirtFs::getLastError()); REQUIRE(rw != nullptr); @@ -438,7 +438,7 @@ TEST_CASE("integrity tests", "integrity") resourceManager->addToSearchPath("data/test/test.zip", Append_false); resourceManager->addToSearchPath("../data/test/test.zip", Append_false); - SDL_RWops *const rw = PHYSFSRWOPS_openRead(name1); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); if (!rw) logger->log("Physfs error: %s", VirtFs::getLastError()); REQUIRE(rw != nullptr); @@ -460,7 +460,7 @@ TEST_CASE("integrity tests", "integrity") resourceManager->addToSearchPath("data/test/test.zip", Append_false); resourceManager->addToSearchPath("../data/test/test.zip", Append_false); - SDL_RWops *const rw = PHYSFSRWOPS_openRead(name1); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); if (!rw) logger->log("Physfs error: %s", VirtFs::getLastError()); REQUIRE(rw != nullptr); -- cgit v1.2.3-70-g09d2