mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
SHERLOCK: Improve flagging for can load/save
This commit is contained in:
parent
18406818eb
commit
8b5716f538
@ -191,7 +191,7 @@ void SherlockEngine::sceneLoop() {
|
||||
}
|
||||
|
||||
void SherlockEngine::handleInput() {
|
||||
_canLoadSave = true;
|
||||
_canLoadSave = _ui->_menuMode == STD_MODE;
|
||||
_events->pollEventsAndWait();
|
||||
_canLoadSave = false;
|
||||
|
||||
|
@ -232,7 +232,9 @@ void TattooUserInterface::handleInput() {
|
||||
TattooScene &scene = *(TattooScene *)_vm->_scene;
|
||||
Common::Point mousePos = events.mousePos();
|
||||
|
||||
_vm->_canLoadSave = _menuMode == STD_MODE;
|
||||
events.pollEventsAndWait();
|
||||
_vm->_canLoadSave = false;
|
||||
_keyState.keycode = Common::KEYCODE_INVALID;
|
||||
|
||||
// Check the mouse positioning
|
||||
|
Loading…
x
Reference in New Issue
Block a user