diff options
author | Colin Snover | 2017-01-10 12:33:21 -0600 |
---|---|---|
committer | Colin Snover | 2017-01-16 12:16:12 -0600 |
commit | 0744dc4109acd6ca433d3da492b9a1f02bd38a81 (patch) | |
tree | be6672e5a2ebbf5ec920d463ceca7369ebe9cc09 /gui/widget.h | |
parent | 60867811ccc6d0b7d0e5dbb4ad92883a9a59657c (diff) | |
download | scummvm-rg350-0744dc4109acd6ca433d3da492b9a1f02bd38a81.tar.gz scummvm-rg350-0744dc4109acd6ca433d3da492b9a1f02bd38a81.tar.bz2 scummvm-rg350-0744dc4109acd6ca433d3da492b9a1f02bd38a81.zip |
SCI32: Fix spinloop in Hoyle5
Hoyle5 will spin on kGetTime between 15 and 300 ticks in multiple
game scripts in order to delay execution (for example, after
choosing opponents and clicking "okay"). This causes ScummVM to
be unresponsive and wastes CPU time.
This commit patches the spin subroutines to instead call a kernel
function (kWait) that waits without a spin loop. This kernel
function was removed in SCI2, and has been added back in ScummVM
specifically for Hoyle5, so this patch will not work with the
original interpreter.
Diffstat (limited to 'gui/widget.h')
0 files changed, 0 insertions, 0 deletions