MOHAWK: Disable Riven demo save/load GUI buttons

This commit is contained in:
Matthew Hoops 2012-03-16 16:16:25 -04:00
parent 2f6528933d
commit 5ae2543795
2 changed files with 3 additions and 3 deletions

View File

@ -376,7 +376,7 @@ static const MohawkGameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformWindows,
ADGF_DEMO | ADGF_UNSTABLE,
GUIO1(GUIO_NOASPECT)
GUIO2(GUIO_NOASPECT, GUIO_NOLAUNCHLOAD)
},
GType_RIVEN,
GF_DEMO,

View File

@ -130,8 +130,8 @@ public:
GUI::Debugger *getDebugger();
bool canLoadGameStateCurrently() { return true; }
bool canSaveGameStateCurrently() { return true; }
bool canLoadGameStateCurrently() { return !(getFeatures() & GF_DEMO); }
bool canSaveGameStateCurrently() { return !(getFeatures() & GF_DEMO); }
Common::Error loadGameState(int slot);
Common::Error saveGameState(int slot, const Common::String &desc);
bool hasFeature(EngineFeature f) const;