diff options
| -rw-r--r-- | engines/voyeur/detection.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/detection.cpp b/engines/voyeur/detection.cpp index 8d3910e747..ab3932bea1 100644 --- a/engines/voyeur/detection.cpp +++ b/engines/voyeur/detection.cpp @@ -127,7 +127,7 @@ SaveStateList VoyeurMetaEngine::listSaves(const char *target) const {  		const char *ext = strrchr(file->c_str(), '.');  		int slot = ext ? atoi(ext + 1) : -1; -		if (slot >= 0 && slot < MAX_SAVES) { +		if (slot >= 0 && slot <= MAX_SAVES) {  			Common::InSaveFile *in = g_system->getSavefileManager()->openForLoading(*file);  			if (in) {  | 
