mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-11 12:42:06 +08:00
retab MIDI
This commit is contained in:
parent
7ffb6b1a1f
commit
b200fb49c4
@ -179,7 +179,7 @@ static void MPU401_WriteCommand(Bitu port,Bitu val,Bitu iolen) {
|
|||||||
mpu.state.wsm=false;
|
mpu.state.wsm=false;
|
||||||
mpu.state.wsd_start=true;
|
mpu.state.wsd_start=true;
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
switch (val) {
|
switch (val) {
|
||||||
case 0xdf: /* Send system message */
|
case 0xdf: /* Send system message */
|
||||||
mpu.state.wsd=false;
|
mpu.state.wsd=false;
|
||||||
@ -280,8 +280,10 @@ static void MPU401_WriteCommand(Bitu port,Bitu val,Bitu iolen) {
|
|||||||
LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Set UART mode %X",(int)val);
|
LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Set UART mode %X",(int)val);
|
||||||
mpu.mode=M_UART;
|
mpu.mode=M_UART;
|
||||||
break;
|
break;
|
||||||
default:;
|
default:
|
||||||
//LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Unhandled command %X",val);
|
//LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Unhandled command %X",val);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
QueueByte(MSG_MPU_ACK);
|
QueueByte(MSG_MPU_ACK);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user