summaryrefslogtreecommitdiff
path: root/src/heretic/p_saveg.c
diff options
context:
space:
mode:
authorSimon Howard2014-05-08 00:44:50 -0400
committerSimon Howard2014-05-08 00:44:50 -0400
commite898c2f0dec6ea5c6365fef9d494c7f94240bea5 (patch)
treebe23684bcb1cf22a7d9a3f755c3f3b80d7f053f4 /src/heretic/p_saveg.c
parentb2e5952c454dd46b29ca6c64e742b4505c20d5b7 (diff)
downloadchocolate-doom-e898c2f0dec6ea5c6365fef9d494c7f94240bea5.tar.gz
chocolate-doom-e898c2f0dec6ea5c6365fef9d494c7f94240bea5.tar.bz2
chocolate-doom-e898c2f0dec6ea5c6365fef9d494c7f94240bea5.zip
opl: Process MIDI 'set tempo' meta events.
The MIDI format includes a special meta event to set the tempo of playback, and some WADs depend on this - notably the music in Alien Vendetta. Move the variables controlling tempo to the global scope (they are not per-track as I previously thought) and set when the tempo events are encountered. This is some progress towards resolving #334, but that bug is not yet completely fixed, because the tempo change does not retroactively apply to OPL timers that have already been set.
Diffstat (limited to 'src/heretic/p_saveg.c')
0 files changed, 0 insertions, 0 deletions