SCI32: Disable load button in F5 menu for Phant1 & Hoyle5

These games either don't have saves (Hoyle) or the saves bypass
the normal save game system so are unidentifiable by ScummVM
(Phant1).
This commit is contained in:
Colin Snover 2016-12-18 18:23:08 -06:00
parent 8bda50fb08
commit bc8aea4b60

View File

@ -883,6 +883,18 @@ Common::Error SciEngine::saveGameState(int slot, const Common::String &desc) {
}
bool SciEngine::canLoadGameStateCurrently() {
#ifdef ENABLE_SCI32
if (getSciVersion() >= SCI_VERSION_2) {
switch (getGameId()) {
case GID_PHANTASMAGORIA:
case GID_HOYLE5:
return false;
default:
break;
}
}
#endif
return !_gamestate->executionStackBase;
}