CMI8x38: Disable Windows XP "workaround", it helps to use correct drivers

This commit is contained in:
RichardG867
2022-03-22 16:24:29 -03:00
parent 8158df98e2
commit 7d15a75cf4

View File

@@ -722,10 +722,9 @@ cmi8x38_write(uint16_t addr, uint8_t val, void *priv)
break; break;
case 0x09: case 0x09:
#if 0 /* actual CMI8338 behavior unconfirmed; this register is required for the Windows XP driver which outputs 96K */ if (dev->type == CMEDIA_CMI8338)
if (dev->type == CMEDIA_CMI8338) return;
return;
#endif
/* Update sample rate. */ /* Update sample rate. */
dev->io_regs[addr] = val; dev->io_regs[addr] = val;
cmi8x38_speed_changed(dev); cmi8x38_speed_changed(dev);