diff options
Diffstat (limited to 'engines/cine/detection.cpp')
-rw-r--r-- | engines/cine/detection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp index 7b4e34c645..d7351879ba 100644 --- a/engines/cine/detection.cpp +++ b/engines/cine/detection.cpp @@ -589,7 +589,7 @@ SaveStateList CineMetaEngine::listSaves(const char *target) const { if (pos < (sizeof(saveDesc) - 1)) { if (ch < 32 || in->eos()) { saveDesc[pos++] = '\0'; - } + } else if (ch >= 32) { saveDesc[pos++] = ch; } @@ -697,11 +697,11 @@ Common::Error CineEngine::saveGameState(int slot, const char *desc) { return Common::kNoError; } -bool CineEngine::canLoadGameStateCurrently() { +bool CineEngine::canLoadGameStateCurrently() { return (!disableSystemMenu && !inMenu); } -bool CineEngine::canSaveGameStateCurrently() { +bool CineEngine::canSaveGameStateCurrently() { return (allowPlayerInput && !disableSystemMenu && !inMenu); } |