mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Add Open Achievements Hotkey
Adds a hotkey to pause emulation and bring up the Achievements dialog.
This commit is contained in:
parent
5ea3d9fca0
commit
2372b6a386
5 changed files with 25 additions and 0 deletions
|
@ -192,6 +192,11 @@ void HotkeyScheduler::Run()
|
|||
if (IsHotkey(HK_EXIT))
|
||||
emit ExitHotkey();
|
||||
|
||||
#ifdef USE_RETRO_ACHIEVEMENTS
|
||||
if (IsHotkey(HK_OPEN_ACHIEVEMENTS))
|
||||
emit OpenAchievements();
|
||||
#endif // USE_RETRO_ACHIEVEMENTS
|
||||
|
||||
if (!Core::IsRunning(system))
|
||||
{
|
||||
// Only check for Play Recording hotkey when no game is running
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue