mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
overlays: fix missing sound autorepeat fence.
The other instances aren't realistically autorepeating
This commit is contained in:
parent
f031cd9b42
commit
96f1f9e45e
1 changed files with 5 additions and 1 deletions
|
@ -157,7 +157,11 @@ namespace rsx
|
|||
{
|
||||
if (const std::function<page_navigation(pad_button)>& func = ::at32(m_callbacks, index))
|
||||
{
|
||||
Emu.GetCallbacks().play_sound(fs::get_config_dir() + "sounds/snd_decide.wav");
|
||||
// Play a sound unless this is a fast auto repeat which would induce a nasty noise
|
||||
if (!is_auto_repeat || auto_repeat_interval_ms >= user_interface::m_auto_repeat_ms_interval_default)
|
||||
{
|
||||
Emu.GetCallbacks().play_sound(fs::get_config_dir() + "sounds/snd_decide.wav");
|
||||
}
|
||||
return func(button_press);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue