PAS16/Plus change of the day (April 15th, 2025)

Actually make the DMA transfer speed normal in when in 16-bit stereo mode with System Configuration 1 bit 1 (Master Clock) cleared. Fixes audio being too quick with said configuration.
This commit is contained in:
TC1995
2025-04-15 22:05:11 +02:00
parent e4d7911f85
commit 245619674d

View File

@@ -1756,7 +1756,7 @@ static uint16_t
pas16_readdmaw_stereo(pas16_t *pas16)
{
uint16_t ret;
uint16_t ticks = (pas16->sys_conf_1 & 0x02) ? (1 + (pas16->dma < 5)) : 2;
uint16_t ticks = (pas16->sys_conf_1 & 0x02) ? (1 + (pas16->dma < 5)) : 1;
ret = pas16_dma_readw(pas16, ticks);