aboutsummaryrefslogtreecommitdiff
path: root/common/scummsys.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-12-19 06:51:32 +0000
committerTorbjörn Andersson2003-12-19 06:51:32 +0000
commita3310a5de932095809e21b63ee593efe213a3080 (patch)
tree08ca3807f5a6e00c6a292864742c6f447e9b7b4f /common/scummsys.h
parentd8903123b0bd4265de03f40eaaf6bb1d2b160c3f (diff)
downloadscummvm-rg350-a3310a5de932095809e21b63ee593efe213a3080.tar.gz
scummvm-rg350-a3310a5de932095809e21b63ee593efe213a3080.tar.bz2
scummvm-rg350-a3310a5de932095809e21b63ee593efe213a3080.zip
Make sure that playSample() gets a pointer to the original QueueElement
instead of a copy of it. Otherwise the sound engine will never notice when a sample finishes playing since it's looking at the wrong sound handle. For whatever reason, this also seems to fix the "game crashes occasionally on startup with completely useless stack trace" bug for me. The crash was easily repeatable in Valgrind for me, but the messages it produced were just as unhelpful as the stack trace. These messages are also gone now. svn-id: r11757
Diffstat (limited to 'common/scummsys.h')
0 files changed, 0 insertions, 0 deletions