From d3ad8ca3d8ac4b88e728d4eb66af1125489d0337 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 22 Feb 2012 02:05:12 +0000 Subject: [PATCH] - Fixed: XMISong::ProcessInitialMetaEvents() did not set the Division for tempo events. (Why does XMI modify the division based on the tempo?) SVN r3382 (trunk) --- src/sound/music_xmi_midiout.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sound/music_xmi_midiout.cpp b/src/sound/music_xmi_midiout.cpp index 6229825ff..e4f5f5866 100644 --- a/src/sound/music_xmi_midiout.cpp +++ b/src/sound/music_xmi_midiout.cpp @@ -634,6 +634,7 @@ void XMISong::ProcessInitialMetaEvents () (track->EventChunk[track->EventP+1]<<8) | (track->EventChunk[track->EventP+2]) ); + Division = Tempo * 3 / 25000; break; } }