mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sound, add FM filtering
This commit is contained in:
parent
21e0cd52e6
commit
68a950875c
13 changed files with 73 additions and 854 deletions
|
@ -1640,6 +1640,15 @@ static void update_variables(bool first_run)
|
|||
PicoIn.opt &= ~POPT_EN_FM_DAC;
|
||||
}
|
||||
|
||||
var.value = NULL;
|
||||
var.key = "picodrive_fm_filter";
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) {
|
||||
if (strcmp(var.value, "on") == 0)
|
||||
PicoIn.opt |= POPT_EN_FM_FILTER;
|
||||
else
|
||||
PicoIn.opt &= ~POPT_EN_FM_FILTER;
|
||||
}
|
||||
|
||||
old_snd_filter = PicoIn.opt & POPT_EN_SNDFILTER;
|
||||
var.value = NULL;
|
||||
var.key = "picodrive_audio_filter";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue