summaryrefslogtreecommitdiff
path: root/src/utils/physfsrwops.cpp
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/utils/physfsrwops.cpp
parent5e7866bd7cc3bf850d9ba3e636d8eca88ac797c7 (diff)
downloadplus-6c9c56b70db43f4100863d312835fce763698008.tar.gz
plus-6c9c56b70db43f4100863d312835fce763698008.tar.bz2
plus-6c9c56b70db43f4100863d312835fce763698008.tar.xz
plus-6c9c56b70db43f4100863d312835fce763698008.zip
Rename physfstools into virtfs.
Diffstat (limited to 'src/utils/physfsrwops.cpp')
-rw-r--r--src/utils/physfsrwops.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utils/physfsrwops.cpp b/src/utils/physfsrwops.cpp
index 29a574913..9af838070 100644
--- a/src/utils/physfsrwops.cpp
+++ b/src/utils/physfsrwops.cpp
@@ -255,7 +255,7 @@ static bool checkFilePath(const char *const fname)
{
if (!fname || !*fname)
return false;
- if (!PhysFs::exists(fname) || PhysFs::isDirectory(fname))
+ if (!VirtFs::exists(fname) || VirtFs::isDirectory(fname))
return false;
return true;
}
@@ -273,12 +273,12 @@ SDL_RWops *PHYSFSRWOPS_openRead(const char *const fname)
return nullptr;
#endif // USE_FUZZER
#ifdef USE_PROFILER
- SDL_RWops *const ret = create_rwops(PhysFs::openRead(fname));
+ SDL_RWops *const ret = create_rwops(VirtFs::openRead(fname));
BLOCK_END("PHYSFSRWOPS_openRead")
return ret;
#else // USE_PROFILER
- return create_rwops(PhysFs::openRead(fname));
+ return create_rwops(VirtFs::openRead(fname));
#endif // USE_PROFILER
} /* PHYSFSRWOPS_openRead */
@@ -289,7 +289,7 @@ SDL_RWops *PHYSFSRWOPS_openWrite(const char *const fname)
return nullptr;
#endif // __APPLE__
- return create_rwops(PhysFs::openWrite(fname));
+ return create_rwops(VirtFs::openWrite(fname));
} /* PHYSFSRWOPS_openWrite */
SDL_RWops *PHYSFSRWOPS_openAppend(const char *const fname)
@@ -299,7 +299,7 @@ SDL_RWops *PHYSFSRWOPS_openAppend(const char *const fname)
return nullptr;
#endif // __APPLE__
- return create_rwops(PhysFs::openAppend(fname));
+ return create_rwops(VirtFs::openAppend(fname));
} /* PHYSFSRWOPS_openAppend */
#ifdef DUMP_LEAKED_RESOURCES