Re-added write SB MIDI routine in reg 0xC of sb_write().

This commit is contained in:
TC1995
2017-10-16 19:38:39 +02:00
parent e49c411183
commit 500b2bc855

View File

@@ -660,6 +660,12 @@ void sb_write(uint16_t a, uint8_t v, void *priv)
dsp->sbreset = v;
return;
case 0xC: /*Command/data write*/
if (dsp->uart_midi || dsp->onebyte_midi)
{
midi_write(v);
dsp->onebyte_midi = 0;
return;
}
timer_process();
dsp->wb_time = TIMER_USEC * 1LL;
dsp->wb_full = 1LL;