summaryrefslogtreecommitdiff
path: root/opl/examples/droplay.c
diff options
context:
space:
mode:
authorSimon Howard2014-05-12 00:12:07 -0400
committerSimon Howard2014-05-12 00:12:07 -0400
commitd25739f069102b5394e2806fbe00dbfa8f65a1f9 (patch)
tree0a7329f59433d6e36ca3ff9887c3e4dfb422e4b6 /opl/examples/droplay.c
parent1591773d45c41acb9e5ce1cf20bf2b1553af1fac (diff)
downloadchocolate-doom-d25739f069102b5394e2806fbe00dbfa8f65a1f9.tar.gz
chocolate-doom-d25739f069102b5394e2806fbe00dbfa8f65a1f9.tar.bz2
chocolate-doom-d25739f069102b5394e2806fbe00dbfa8f65a1f9.zip
opl: Handle negative time division values.
A negative time division file indicates the MIDI file uses SMPTE time rather than the normal time system. This is not supported yet, but for the time being, return a sensible time division value that doesn't cause the sound to stutter and the game to become unplayable. This fixes #352, although the affected MIDIs do not yet play properly.
Diffstat (limited to 'opl/examples/droplay.c')
0 files changed, 0 insertions, 0 deletions