diff options
Diffstat (limited to 'src/fs/virtfs/virtfszip.cpp')
-rw-r--r-- | src/fs/virtfs/virtfszip.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfszip.cpp b/src/fs/virtfs/virtfszip.cpp index d344a4c64..8999cb54c 100644 --- a/src/fs/virtfs/virtfszip.cpp +++ b/src/fs/virtfs/virtfszip.cpp @@ -22,6 +22,7 @@ #include "fs/virtfs/virtfile.h" #include "fs/virtfs/virtfsfuncs.h" +#include "fs/virtfs/virtfsziprwops.h" #include "fs/virtfs/virtlist.h" #include "fs/virtfs/virtzipentry.h" #include "fs/virtfs/zip.h" @@ -72,6 +73,13 @@ namespace VirtFsZip ptr->openWrite = &VirtFsZip::openWrite; ptr->openAppend = &VirtFsZip::openAppend; ptr->loadFile = &VirtFsZip::loadFile; + ptr->rwops_seek = &VirtFsZip::rwops_seek; + ptr->rwops_read = &VirtFsZip::rwops_read; + ptr->rwops_write = &VirtFsZip::rwops_write; + ptr->rwops_close = &VirtFsZip::rwops_close; +#ifdef USE_SDL2 + ptr->rwops_size = &VirtFsZip::rwops_size; +#endif // USE_SDL2 } bool getRealDir(VirtFsEntry *restrict const entry, |