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