mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
HotkeyManager: Add HK_TOGGLE_WII_SPEAK_MUTE
This commit is contained in:
@ -795,6 +795,20 @@ void Settings::SetUSBKeyboardConnected(bool connected)
|
||||
}
|
||||
}
|
||||
|
||||
bool Settings::IsWiiSpeakMuted() const
|
||||
{
|
||||
return Config::Get(Config::MAIN_WII_SPEAK_MUTED);
|
||||
}
|
||||
|
||||
void Settings::SetWiiSpeakMuted(bool muted)
|
||||
{
|
||||
if (IsWiiSpeakMuted() == muted)
|
||||
return;
|
||||
|
||||
Config::SetBaseOrCurrent(Config::MAIN_WII_SPEAK_MUTED, muted);
|
||||
emit WiiSpeakMuteChanged(muted);
|
||||
}
|
||||
|
||||
void Settings::SetIsContinuouslyFrameStepping(bool is_stepping)
|
||||
{
|
||||
m_continuously_frame_stepping = is_stepping;
|
||||
|
Reference in New Issue
Block a user