aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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); }