Mercurial > repos > blastem
diff nuklear_ui/blastem_nuklear.c @ 2277:9e578fd493e1
Implement gain control for Ricoh PCM and CDDA with defaults based on Model 2 Sega CD
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 02 Jan 2023 12:24:22 -0800 |
parents | 08a16de0e4cb |
children | 7e995fb948c3 |
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c Mon Jan 02 11:37:31 2023 -0800 +++ b/nuklear_ui/blastem_nuklear.c Mon Jan 02 12:24:22 2023 -0800 @@ -1931,6 +1931,8 @@ settings_float_property(context, "Gain (dB)", "Overall", "audio\0gain\0", 0, -30.0f, 30.0f, 0.5f); settings_float_property(context, "", "FM", "audio\0fm_gain\0", 0, -30.0f, 30.0f, 0.5f); settings_float_property(context, "", "PSG", "audio\0psg_gain\0", 0, -30.0f, 30.0f, 0.5f); + settings_float_property(context, "", "RF5C164", "audio\0rf5c164_gain\0", -6.0f, -30.0f, 30.0f, 0.5f); + settings_float_property(context, "", "CDDA", "audio\0cdd_gain\0", -9.5f, -30.0f, 30.0f, 0.5f); selected_dac = settings_dropdown_ex(context, "FM DAC", dac, dac_desc, num_dacs, selected_dac, "audio\0fm_dac\0"); if (nk_button_label(context, "Back")) { pop_view();