scummvm/engines/sword1
Thierry Crozat 20fb33a668 SWORD1: Fix use of uninitialized variables in PSX demo music
The music tab file in the PSX demo seems to be truncated and we
were seeking beyond the end of the file for some music (such as
the one for the menu), and then trying to read without any checks
that either the seek or read succeeded. This caused the code to
then use uninitialized variables causing random issues (such as
getting some noise). We now ignore the music id that are beyond
the end of the broken tab file.
2020-10-19 01:14:21 +01:00
..
animation.cpp
animation.h
collision.h
configure.engine
console.cpp
console.h
control.cpp
control.h
debug.cpp
debug.h
detection.cpp
eventman.cpp
eventman.h
logic.cpp
logic.h
memman.cpp
memman.h
menu.cpp
menu.h
metaengine.cpp
module.mk
mouse.cpp
mouse.h
music.cpp
music.h
object.h
objectman.cpp
objectman.h
POTFILES
resman.cpp
resman.h
router.cpp
router.h
screen.cpp
screen.h
sound.cpp
sound.h
staticres.cpp
sword1.cpp
sword1.h
sworddefs.h
swordres.h
text.cpp
text.h