aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2005-04-27 21:57:13 +0000
committerMarcus Comstedt2005-04-27 21:57:13 +0000
commitf95e696034d038d5fc0e7cc1d4a2e795b2ed02ed (patch)
tree7da72db2a99f95e5ad8cb7c29506767b8e013571 /backends
parent4ec716103270459a978fe1e6c699db5bfd5ae6cc (diff)
downloadscummvm-rg350-f95e696034d038d5fc0e7cc1d4a2e795b2ed02ed.tar.gz
scummvm-rg350-f95e696034d038d5fc0e7cc1d4a2e795b2ed02ed.tar.bz2
scummvm-rg350-f95e696034d038d5fc0e7cc1d4a2e795b2ed02ed.zip
Added eos() method.
svn-id: r17843
Diffstat (limited to 'backends')
-rw-r--r--backends/dc/vmsave.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/dc/vmsave.cpp b/backends/dc/vmsave.cpp
index 1f8b82ec52..17e8a0532c 100644
--- a/backends/dc/vmsave.cpp
+++ b/backends/dc/vmsave.cpp
@@ -238,6 +238,8 @@ public:
bool isOpen() const { return true; }
+ bool eos() const { return !issave && pos >= size; }
+
bool readSaveGame()
{ return ::readSaveGame(buffer, size, filename); }