[Scummvm-git-logs] scummvm master -> 1e3bd598ba7247fcf64cf1a3c5ab4d1613540743

sluicebox 22204938+sluicebox at users.noreply.github.com
Sat Feb 15 23:10:28 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1e3bd598ba SCI: Remove MIDI driver timer before closing


Commit: 1e3bd598ba7247fcf64cf1a3c5ab4d1613540743
    https://github.com/scummvm/scummvm/commit/1e3bd598ba7247fcf64cf1a3c5ab4d1613540743
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2020-02-15T15:10:24-08:00

Commit Message:
SCI: Remove MIDI driver timer before closing

Fixes bug #10374

Changed paths:
    engines/sci/sound/drivers/midi.cpp


diff --git a/engines/sci/sound/drivers/midi.cpp b/engines/sci/sound/drivers/midi.cpp
index 48fb1dd..1024e78 100644
--- a/engines/sci/sound/drivers/midi.cpp
+++ b/engines/sci/sound/drivers/midi.cpp
@@ -1219,6 +1219,7 @@ void MidiPlayer_Midi::close() {
 		sendMt32SysEx(0x200000, SciSpan<const byte>(_goodbyeMsg, 20), true);
 	}
 
+	_driver->setTimerCallback(NULL, NULL);
 	_driver->close();
 }
 




More information about the Scummvm-git-logs mailing list