--- np2/io/dipsw.c 2003/10/16 17:57:50 1.1 +++ np2/io/dipsw.c 2003/10/17 03:52:24 1.2 @@ -3,6 +3,8 @@ #include "i286.h" #include "pccore.h" #include "iocore.h" +#include "sound.h" +#include "beep.h" void IOOUTCALL dipsw_w8(UINT port, BYTE value) { @@ -55,6 +57,7 @@ void IOOUTCALL dipsw_w8(UINT port, BYTE set = (value >> 2) & 0x03; if (np2cfg.BEEP_VOL != set) { np2cfg.BEEP_VOL = set; + beep_setvol(set); update |= SYS_UPDATECFG; } }