Tweaked SB DSP write data ready timing. Fixes SB16 detection on Windows 98.
This commit is contained in:
parent
8186a884d7
commit
8ce9832c16
1 changed files with 3 additions and 3 deletions
|
|
@ -734,11 +734,11 @@ uint8_t sb_read(uint16_t a, void *priv)
|
|||
// pclog("SB read %02X\n",sbreaddat);
|
||||
return dsp->sbreaddat;
|
||||
case 0xC: /*Write data ready*/
|
||||
if (dsp->sb_8_enable || dsp->sb_type >= SB16 )
|
||||
dsp->busy_count = (dsp->busy_count + 1) & 15;
|
||||
if (dsp->sb_8_enable || dsp->sb_type >= SB16)
|
||||
dsp->busy_count = (dsp->busy_count + 1) & 3;
|
||||
else
|
||||
dsp->busy_count = 0;
|
||||
if (dsp->wb_full || (dsp->busy_count & 8))
|
||||
if (dsp->wb_full || (dsp->busy_count & 2))
|
||||
{
|
||||
dsp->wb_full = dsp->wb_time;
|
||||
return 0xff;
|
||||
|
|
|
|||
Loading…
Reference in a new issue