diff options
author | sluicebox | 2019-07-14 18:46:34 -0700 |
---|---|---|
committer | Filippos Karapetis | 2019-07-21 18:20:07 +0300 |
commit | 954f5142cb9b1f8b6ea4e608a71b07fdfcc4e8ca (patch) | |
tree | 9788aa1977f6a5dd3f00065104c36c1c29e01292 /engines/sci/engine/state.h | |
parent | 39551526b18f0f8b4ed0e460ead96f0b8b9d62c8 (diff) | |
download | scummvm-rg350-954f5142cb9b1f8b6ea4e608a71b07fdfcc4e8ca.tar.gz scummvm-rg350-954f5142cb9b1f8b6ea4e608a71b07fdfcc4e8ca.tar.bz2 scummvm-rg350-954f5142cb9b1f8b6ea4e608a71b07fdfcc4e8ca.zip |
SCI: Implement full kWait behavior
Fixes PQ3 bug #11020
Diffstat (limited to 'engines/sci/engine/state.h')
-rw-r--r-- | engines/sci/engine/state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h index a299d89446..0ad50a6818 100644 --- a/engines/sci/engine/state.h +++ b/engines/sci/engine/state.h @@ -114,7 +114,8 @@ public: uint32 _screenUpdateTime; /**< The last time the game updated the screen */ void speedThrottler(uint32 neededSleep); - int wait(int16 ticks); + uint16 wait(uint16 ticks); + void sleep(uint16 ticks); #ifdef ENABLE_SCI32 uint32 _eventCounter; /**< total times kGetEvent was invoked since the last call to kFrameOut */ |