summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfsdir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfs/virtfsdir.cpp')
-rw-r--r--src/fs/virtfs/virtfsdir.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfsdir.cpp b/src/fs/virtfs/virtfsdir.cpp
index b6f197ae3..c3c2cad73 100644
--- a/src/fs/virtfs/virtfsdir.cpp
+++ b/src/fs/virtfs/virtfsdir.cpp
@@ -26,6 +26,7 @@
#include "fs/virtfs/virtdirentry.h"
#include "fs/virtfs/virtfile.h"
+#include "fs/virtfs/virtfsdirrwops.h"
#include "fs/virtfs/virtfsfuncs.h"
#include "fs/virtfs/virtlist.h"
@@ -136,6 +137,13 @@ namespace VirtFsDir
ptr->openWrite = &VirtFsDir::openWrite;
ptr->openAppend = &VirtFsDir::openAppend;
ptr->loadFile = &VirtFsDir::loadFile;
+ ptr->rwops_seek = &VirtFsDir::rwops_seek;
+ ptr->rwops_read = &VirtFsDir::rwops_read;
+ ptr->rwops_write = &VirtFsDir::rwops_write;
+ ptr->rwops_close = &VirtFsDir::rwops_close;
+#ifdef USE_SDL2
+ ptr->rwops_size = &VirtFsDir::rwops_size;
+#endif // USE_SDL2
}
VirtFsFuncs *getFuncs()