small fix
This commit is contained in:
parent
d36cd17815
commit
dd473c1146
1 changed files with 2 additions and 3 deletions
|
@ -864,9 +864,8 @@ void CSound::callbackMIDI ( const MIDIPacketList* pktlist,
|
|||
|
||||
for ( unsigned int j = 0; j < pktlist->numPackets; j++ )
|
||||
{
|
||||
CVector<uint8_t> vMIDIPaketBytes ( midiPacket->length );
|
||||
|
||||
// copy packet and send it to the MIDI parser
|
||||
CVector<uint8_t> vMIDIPaketBytes ( midiPacket->length );
|
||||
for ( int i = 0; i < midiPacket->length; i++ )
|
||||
{
|
||||
vMIDIPaketBytes[i] = static_cast<uint8_t> ( midiPacket->data[i] );
|
||||
|
|
Loading…
Reference in a new issue