From 70db5c4a1323c1c66ac37a58401276ee3c16d284 Mon Sep 17 00:00:00 2001 From: crazii Date: Sat, 27 Apr 2024 11:41:08 +0800 Subject: [PATCH] fix SB16 IRQ/DMA mixer registers init. --- sbemu/sbemu.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sbemu/sbemu.c b/sbemu/sbemu.c index d5802f9..d3c1c1c 100644 --- a/sbemu/sbemu.c +++ b/sbemu/sbemu.c @@ -110,6 +110,11 @@ void SBEMU_Mixer_Write(uint16_t port, uint8_t value) SBEMU_MixerRegs[SBEMU_MixerRegIndex] = value; if(SBEMU_MixerRegIndex == SBEMU_MIXERREG_RESET) { + //special IRQ&DMA regs + SBEMU_MixerRegs[SBEMU_MIXERREG_INT_SETUP] = 1<