ref: 3537135b64c9c5259eaf93421ad46f3ae2aedfb6
parent: b94490d84161673a6d3945adabae9787b713534d
author: qwx <qwx@sciops.net>
date: Thu May 4 18:39:01 EDT 2023
fix breakage from older code
--- a/src/ft2_keyboard.c
+++ b/src/ft2_keyboard.c
@@ -353,7 +353,7 @@
config.masterVol = 256;
setAudioAmp(config.boostLevel, config.masterVol, !!(config.specialFlags & BITDEPTH_32));
- if (ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
+ if (ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_AUDIO)
showConfigScreen();
break;
case SDL_SCANCODE_VOLUMEDOWN:
@@ -363,7 +363,7 @@
config.masterVol = 0;
setAudioAmp(config.boostLevel, config.masterVol, !!(config.specialFlags & BITDEPTH_32));
- if (ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
+ if (ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_AUDIO)
showConfigScreen();
break;