From 9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 May 2017 01:51:21 +0300 Subject: Rename virtfile into file. --- src/fs/virtfs/virtfsdirrwops.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/fs/virtfs/virtfsdirrwops.cpp') diff --git a/src/fs/virtfs/virtfsdirrwops.cpp b/src/fs/virtfs/virtfsdirrwops.cpp index 14cc69db8..692d107cd 100644 --- a/src/fs/virtfs/virtfsdirrwops.cpp +++ b/src/fs/virtfs/virtfsdirrwops.cpp @@ -22,7 +22,7 @@ #include "logger.h" -#include "fs/virtfs/virtfile.h" +#include "fs/virtfs/file.h" #include @@ -39,7 +39,7 @@ namespace VirtFsDir { if (!rw) return -1; - VirtFile *const handle = static_cast( + File *const handle = static_cast( rw->hidden.unknown.data1); FILEHTYPE fd = handle->mFd; RWOPSINT pos = 0; @@ -151,7 +151,7 @@ namespace VirtFsDir { if (!rw) return 0; - VirtFile *const handle = static_cast( + File *const handle = static_cast( rw->hidden.unknown.data1); FILEHTYPE fd = handle->mFd; @@ -187,7 +187,7 @@ namespace VirtFsDir { if (!rw) return 0; - VirtFile *const handle = static_cast( + File *const handle = static_cast( rw->hidden.unknown.data1); FILEHTYPE fd = handle->mFd; @@ -220,7 +220,7 @@ namespace VirtFsDir { if (!rw) return 0; - VirtFile *const handle = static_cast( + File *const handle = static_cast( rw->hidden.unknown.data1); delete handle; SDL_FreeRW(rw); @@ -230,7 +230,7 @@ namespace VirtFsDir #ifdef USE_SDL2 RWOPSINT rwops_size(SDL_RWops *const rw) { - VirtFile *const handle = static_cast( + File *const handle = static_cast( rw->hidden.unknown.data1); FILEHTYPE fd = handle->mFd; #ifdef USE_FILE_FOPEN -- cgit v1.2.3-70-g09d2