N64: Added pos() method to another save class

This commit is contained in:
Eugene Sandulenko 2016-08-04 13:05:15 +02:00
parent d111b16adc
commit a4d39b2385
2 changed files with 4 additions and 1 deletions

View file

@ -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");

View file

@ -72,7 +72,7 @@ private:
public:
uint32 write(const void *buf, uint32 cnt);
virtual int32 pos() {
virtual int32 pos() const {
return pakfs_tell(fd);
}