mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 10:17:14 +00:00
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:
parent
8bda50fb08
commit
bc8aea4b60
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user