diff options
-rw-r--r-- | backends/platform/n64/framfs_save_manager.h | 3 | ||||
-rw-r--r-- | backends/platform/n64/pakfs_save_manager.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/backends/platform/n64/framfs_save_manager.h b/backends/platform/n64/framfs_save_manager.h index a066854aab..9bd4ee579e 100644 --- a/backends/platform/n64/framfs_save_manager.h +++ b/backends/platform/n64/framfs_save_manager.h @@ -71,6 +71,9 @@ private: public: uint32 write(const void *buf, uint32 cnt); + virtual int32 pos() const { + return framfs_tell(fd); + } OutFRAMSave(const char *_filename) : fd(NULL) { fd = framfs_open(_filename, "w"); diff --git a/backends/platform/n64/pakfs_save_manager.h b/backends/platform/n64/pakfs_save_manager.h index 57b8b8495a..0c08f0c506 100644 --- a/backends/platform/n64/pakfs_save_manager.h +++ b/backends/platform/n64/pakfs_save_manager.h @@ -72,7 +72,7 @@ private: public: uint32 write(const void *buf, uint32 cnt); - virtual int32 pos() { + virtual int32 pos() const { return pakfs_tell(fd); } |