@@ -141,7 +141,8 @@ static void menu_gearsystem(void)
141141 {
142142 if (config_emulator.recent_roms [i].length () > 0 )
143143 {
144- if (ImGui::MenuItem (config_emulator.recent_roms [i].c_str ()))
144+ const char * shortcut = (i == 0 ) ? config_hotkeys[config_HotkeyIndex_ReloadROM].str : NULL ;
145+ if (ImGui::MenuItem (config_emulator.recent_roms [i].c_str (), shortcut))
145146 {
146147 char rom_path[4096 ];
147148 strcpy (rom_path, config_emulator.recent_roms [i].c_str ());
@@ -630,6 +631,7 @@ static void menu_emulator(void)
630631 hotkey_configuration_item (" Open ROM:" , &config_hotkeys[config_HotkeyIndex_OpenROM]);
631632 hotkey_configuration_item (" Quit:" , &config_hotkeys[config_HotkeyIndex_Quit]);
632633 hotkey_configuration_item (" Reset:" , &config_hotkeys[config_HotkeyIndex_Reset]);
634+ hotkey_configuration_item (" Reload ROM:" , &config_hotkeys[config_HotkeyIndex_ReloadROM]);
633635 hotkey_configuration_item (" Pause:" , &config_hotkeys[config_HotkeyIndex_Pause]);
634636 hotkey_configuration_item (" Fast Forward:" , &config_hotkeys[config_HotkeyIndex_FFWD]);
635637 hotkey_configuration_item (" Rewind:" , &config_hotkeys[config_HotkeyIndex_Rewind]);
@@ -653,7 +655,6 @@ static void menu_emulator(void)
653655
654656 if (ImGui::BeginMenu (" Debug Hotkeys" ))
655657 {
656- hotkey_configuration_item (" Reload ROM:" , &config_hotkeys[config_HotkeyIndex_ReloadROM]);
657658 hotkey_configuration_item (" Step Into:" , &config_hotkeys[config_HotkeyIndex_DebugStepInto]);
658659 hotkey_configuration_item (" Step Over:" , &config_hotkeys[config_HotkeyIndex_DebugStepOver]);
659660 hotkey_configuration_item (" Step Out:" , &config_hotkeys[config_HotkeyIndex_DebugStepOut]);
0 commit comments