mirror of
https://github.com/86Box/86Box.git
synced 2026-02-25 04:45:31 -07:00
Merge branch 'master' into pc98x1
This commit is contained in:
@@ -240,7 +240,7 @@ mtouch_write(serial_t *serial, void *priv, uint8_t data)
|
||||
static int
|
||||
mtouch_prepare_transmit(void *priv)
|
||||
{
|
||||
char buffer[10];
|
||||
char buffer[16];
|
||||
mouse_microtouch_t *dev = (mouse_microtouch_t *) priv;
|
||||
|
||||
double abs_x = dev->abs_x;
|
||||
|
||||
@@ -1983,10 +1983,8 @@ sb_read(uint16_t a, void *priv)
|
||||
else
|
||||
ret = (dsp->sb_read_rp == dsp->sb_read_wp) ? 0x7f : 0xff;
|
||||
}
|
||||
if (dsp->state == DSP_S_RESET_WAIT) {
|
||||
ret &= 0x7f;
|
||||
if (dsp->state == DSP_S_RESET_WAIT)
|
||||
dsp->state = DSP_S_NORMAL;
|
||||
}
|
||||
break;
|
||||
case 0xF: /* 16-bit ack */
|
||||
if (IS_NOT_ESS(dsp)) {
|
||||
|
||||
Reference in New Issue
Block a user