Added the NULL sound filter to the OPTi 82c929 code.

This commit is contained in:
OBattler
2022-11-24 01:48:33 +01:00
parent 033deeedb5
commit 745b6da2d2

View File

@@ -157,6 +157,7 @@ optimc_reg_write(uint16_t addr, uint8_t val, void *p)
if (val != old) {
optimc->cur_mode = optimc->cur_wss_enabled = !!(val & 0x80);
sound_set_cd_audio_filter(NULL, NULL);
if (optimc->cur_wss_enabled) /* WSS */
sound_set_cd_audio_filter(ad1848_filter_cd_audio, &optimc->ad1848);
else /* SBPro */