From 2b14fc7baa093241428e5fefe43ec3a69bfec8a0 Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 2 Nov 2023 04:26:17 +0100 Subject: [PATCH] Removed the ability toggle between 16-bit and 8-bit DMA modes - evidently I was wrong about the existence of that ability and the purpose of those bits on the register FFh, fixes 16-bit audio in some instances on Windows 9x. --- src/sound/snd_sb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sound/snd_sb.c b/src/sound/snd_sb.c index 5f9fb7f27..bfd1ca401 100644 --- a/src/sound/snd_sb.c +++ b/src/sound/snd_sb.c @@ -954,7 +954,9 @@ sb_ct1745_mixer_write(uint16_t addr, uint8_t val, void *priv) Seen values: 20, 05, 04, 03 */ sb_dsp_setdma16_enabled(&sb->dsp, !(val & 0x20)); +#ifdef TOGGLABLE_TRANSLATION sb_dsp_setdma16_translate(&sb->dsp, val & 0x02); +#endif } break;