aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kevent.cpp
diff options
context:
space:
mode:
authorColin Snover2017-05-22 18:40:52 -0500
committerColin Snover2017-07-06 19:12:35 -0500
commit9f910535c9d358262b68ad9200e041a9a6d77ce5 (patch)
treebe3978b8f042caa7087c0b04d27d7f2187da297e /engines/sci/engine/kevent.cpp
parentf40ea8c2e7380b512042ab171be45eec19962b8f (diff)
downloadscummvm-rg350-9f910535c9d358262b68ad9200e041a9a6d77ce5.tar.gz
scummvm-rg350-9f910535c9d358262b68ad9200e041a9a6d77ce5.tar.bz2
scummvm-rg350-9f910535c9d358262b68ad9200e041a9a6d77ce5.zip
SCI32: Centralise OSystem screen updates
Diffstat (limited to 'engines/sci/engine/kevent.cpp')
-rw-r--r--engines/sci/engine/kevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp
index 389277b9bc..b240c947bf 100644
--- a/engines/sci/engine/kevent.cpp
+++ b/engines/sci/engine/kevent.cpp
@@ -101,7 +101,7 @@ reg_t kGetEvent(EngineState *s, int argc, reg_t *argv) {
// one of these ugly loops and should be updating the screen &
// throttling the VM.
if (++s->_eventCounter > 2) {
- g_system->updateScreen();
+ g_sci->_gfxFrameout->updateScreen();
s->speedThrottler(10); // 10ms is an arbitrary value
s->_throttleTrigger = true;
}