1
0
Fork 0

fix compilation bug

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1869
This commit is contained in:
Sjoerd van der Berg 2004-07-05 08:36:26 +00:00
parent af71d40be2
commit 621f0961d4

View file

@ -47,7 +47,7 @@ public:
};
void PlayMsg(Bit8u * msg) {
Bit8u buf[128];Bitu pos=0;
Bitu len=MIDI_evt_len[msg & 0xff];
Bitu len=MIDI_evt_len[*msg];
for (;len>0;len--) {
buf[pos++] = SEQ_MIDIPUTC;
buf[pos++] = *msg;