mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 21:03:31 +00:00
TWP: Disable savegame when necessary
This commit is contained in:
parent
98dfa1c025
commit
4b3f6d25e5
@ -283,6 +283,8 @@ static void drawGeneral() {
|
||||
ImGui::Checkbox("Cursor", &g_engine->_inputState._showCursor);
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox("Verbs", &g_engine->_inputState._inputVerbsActive);
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox("Allow SaveGame", &g_engine->_saveGameManager._allowSaveGame);
|
||||
|
||||
ImGui::Separator();
|
||||
bool isSwitcherOn = g_engine->_actorSwitcher._mode == asOn;
|
||||
|
@ -108,7 +108,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
bool canSaveGameStateCurrently(Common::U32String *msg = nullptr) override {
|
||||
return true;
|
||||
return _saveGameManager._allowSaveGame;
|
||||
}
|
||||
|
||||
virtual Common::String getSaveStateName(int slot) const override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user