mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sound, fix ym2612 ladder effect, add option
This commit is contained in:
parent
b55e4e1b2f
commit
23cd73bc8f
9 changed files with 46 additions and 22 deletions
|
@ -1594,6 +1594,15 @@ static void update_variables(bool first_run)
|
|||
PicoIn.opt &= ~POPT_EN_DRC;
|
||||
#endif
|
||||
|
||||
var.value = NULL;
|
||||
var.key = "picodrive_dacnoise";
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) {
|
||||
if (strcmp(var.value, "enabled") == 0)
|
||||
PicoIn.opt |= POPT_EN_FM_DAC;
|
||||
else
|
||||
PicoIn.opt &= ~POPT_EN_FM_DAC;
|
||||
}
|
||||
|
||||
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