diff options
author | David Turner | 2010-12-31 09:14:49 +0000 |
---|---|---|
committer | David Turner | 2010-12-31 09:14:49 +0000 |
commit | f96c8f6e39e39a92adfeeb07db78861ee7383226 (patch) | |
tree | fcd696c763ed2b86b3bd11c8d58ec31db0cb5fb9 /engines/m4/script.cpp | |
parent | c9330fb79eb5703aa3fccfe31a4631209ceecbc0 (diff) | |
download | scummvm-rg350-f96c8f6e39e39a92adfeeb07db78861ee7383226.tar.gz scummvm-rg350-f96c8f6e39e39a92adfeeb07db78861ee7383226.tar.bz2 scummvm-rg350-f96c8f6e39e39a92adfeeb07db78861ee7383226.zip |
CINE: Fix CollisionPage Uninitialised Reads in Operation Stealth.
The collisionPage is only initialised with values when loadCtFw() / loadCtOS() is called.
However, currently during the display of the Delphine Software Logo in Operation Stealth,
checkCollision() is called, but the collisionPage has not been loaded.
To fix the invalid reads, have added code to set the page to zero after allocation.
Shouldn't cause any issues to FW as this will load over the top anyway.
Have also added debug output around this behaviour so that if this is not sufficient i.e. a collision page load is actually missing, then this will aid investigation.
svn-id: r55071
Diffstat (limited to 'engines/m4/script.cpp')
0 files changed, 0 insertions, 0 deletions