Toggle mute button

This commit is contained in:
iota97 2020-02-25 12:26:23 +01:00
parent f0b7430e6e
commit f47ac2ee2c
3 changed files with 5 additions and 0 deletions

View file

@ -631,6 +631,9 @@ void EmuScreen::onVKeyDown(int virtualKeyCode) {
case VIRTKEY_RAPID_FIRE:
__CtrlSetRapidFire(true);
break;
case VIRTKEY_MUTE_TOGGLE:
g_Config.bEnableSound = !g_Config.bEnableSound;
break;
}
}