aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/state.h
diff options
context:
space:
mode:
authorsluicebox2019-07-14 18:46:34 -0700
committerFilippos Karapetis2019-07-21 18:20:07 +0300
commit954f5142cb9b1f8b6ea4e608a71b07fdfcc4e8ca (patch)
tree9788aa1977f6a5dd3f00065104c36c1c29e01292 /engines/sci/engine/state.h
parent39551526b18f0f8b4ed0e460ead96f0b8b9d62c8 (diff)
downloadscummvm-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.h3
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 */