Merge pull request #1834 from 86Box/tc1995

Made bits 16 and 18 of the Sample Rate Converter register of the ES13…
This commit is contained in:
Miran Grča
2021-11-18 22:12:32 +01:00
committed by GitHub

View File

@@ -964,7 +964,7 @@ es1371_outl(uint16_t port, uint32_t val, void *p)
/* Sample Rate Converter Interface Register, Address 10H
Addressable as longword only */
case 0x10:
dev->sr_cir = val;
dev->sr_cir = val & 0xfff8ffff; /*Bits 16 to 18 are undefined*/
if (dev->sr_cir & SRC_RAM_WE) {
dev->sr_ram[dev->sr_cir >> 25] = val & 0xffff;
switch (dev->sr_cir >> 25) {