fix crash when trying to send MMC of timecode > 255 hours
This commit is contained in:
parent
915bb2f641
commit
7df663acf2
@ -710,7 +710,7 @@ MachineControlCommand::fill_buffer (MachineControl* mmc, MIDI::byte* b) const
|
||||
if (_command == MachineControl::cmdLocate) {
|
||||
*b++ = 0x6; // byte count
|
||||
*b++ = 0x1; // "TARGET" subcommand
|
||||
*b++ = _time.hours;
|
||||
*b++ = _time.hours & 0xff;
|
||||
*b++ = _time.minutes;
|
||||
*b++ = _time.seconds;
|
||||
*b++ = _time.frames;
|
||||
|
Loading…
Reference in New Issue
Block a user