aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-04 12:46:57 +0200
committerEugene Sandulenko2016-08-04 12:48:52 +0200
commiteedd1286ff4a7020d2d65b1746f0649be6ffaa50 (patch)
tree23a406d510f7b8405a0c8e8b3ad113b670fb0be6
parent2597be210dee76205bfbeb0ee083e8c1e3c3ae1e (diff)
downloadscummvm-rg350-eedd1286ff4a7020d2d65b1746f0649be6ffaa50.tar.gz
scummvm-rg350-eedd1286ff4a7020d2d65b1746f0649be6ffaa50.tar.bz2
scummvm-rg350-eedd1286ff4a7020d2d65b1746f0649be6ffaa50.zip
N64: Fix build adter WriteStream::pos() addition
-rw-r--r--backends/platform/n64/pakfs_save_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/n64/pakfs_save_manager.h b/backends/platform/n64/pakfs_save_manager.h
index ec66c80b73..c12150e9bf 100644
--- a/backends/platform/n64/pakfs_save_manager.h
+++ b/backends/platform/n64/pakfs_save_manager.h
@@ -72,6 +72,10 @@ private:
public:
uint32 write(const void *buf, uint32 cnt);
+ int32 pos() {
+ return pakfs_tell(fd);
+ }
+
OutPAKSave(const char *_filename) : fd(NULL) {
fd = pakfs_open(_filename, "w");
}