Corrected test on SB DSP command 0xf8.

This commit is contained in:
SarahW 2017-06-03 07:50:31 +01:00
commit ff26a772b2

View file

@ -507,7 +507,7 @@ void sb_exec_command(sb_dsp_t *dsp)
sb_add_data(dsp, 0);
break;
case 0xF9:
if (dsp->sb_type < SB16) break;
if (dsp->sb_type >= SB16) break;
if (dsp->sb_data[0] == 0x0e) sb_add_data(dsp, 0xff);
else if (dsp->sb_data[0] == 0x0f) sb_add_data(dsp, 0x07);
else if (dsp->sb_data[0] == 0x37) sb_add_data(dsp, 0x38);