N64: Added pos() method to another save class
This commit is contained in:
parent
d111b16adc
commit
a4d39b2385
2 changed files with 4 additions and 1 deletions
|
@ -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");
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
public:
|
||||
uint32 write(const void *buf, uint32 cnt);
|
||||
|
||||
virtual int32 pos() {
|
||||
virtual int32 pos() const {
|
||||
return pakfs_tell(fd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue