mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 15:18:11 +00:00
8982fff1b7
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances. |
||
---|---|---|
.. | ||
console.cpp | ||
console.h | ||
database.cpp | ||
database.h | ||
detection.cpp | ||
graphics.cpp | ||
graphics.h | ||
made.cpp | ||
made.h | ||
module.mk | ||
music.cpp | ||
music.h | ||
pmvplayer.cpp | ||
pmvplayer.h | ||
redreader.cpp | ||
redreader.h | ||
resource.cpp | ||
resource.h | ||
screen.cpp | ||
screen.h | ||
screenfx.cpp | ||
screenfx.h | ||
script.cpp | ||
script.h | ||
scriptfuncs.cpp | ||
scriptfuncs.h | ||
sound.cpp | ||
sound.h |