aboutsummaryrefslogtreecommitdiff
path: root/audio/musicplugin.cpp
diff options
context:
space:
mode:
authorColin Snover2016-11-19 12:58:12 -0600
committerColin Snover2016-11-19 19:05:38 -0600
commit11ee0f90ac67a3ee0a36506c35e35af6a11f7936 (patch)
tree3b9355ead3464ef33b06bf905f0ac4ed8f0c1910 /audio/musicplugin.cpp
parent10151966a6e1ae58f01d37e6fb110c7f740c96ba (diff)
downloadscummvm-rg350-11ee0f90ac67a3ee0a36506c35e35af6a11f7936.tar.gz
scummvm-rg350-11ee0f90ac67a3ee0a36506c35e35af6a11f7936.tar.bz2
scummvm-rg350-11ee0f90ac67a3ee0a36506c35e35af6a11f7936.zip
SCI: Warn more loudly about uninitialised parameter reads
Silently returning zero values can cause games to break. e.g. Shivers 1 room 35170 has a script bug where vJoystick::handleEvent makes a super call which causes doVerb to be called a second time with no arguments. In the original game this happened to work because the value already on the stack happened to be 1. In ScummVM this silently (unless VM debug messages were enabled) failed because the uninitialised read value was forced to 0.
Diffstat (limited to 'audio/musicplugin.cpp')
0 files changed, 0 insertions, 0 deletions