Skip to content

Commit b4c5161

Browse files
authored
Merge pull request #738 from wheremyfoodat/forgotten-hotkeys
Annotate hotkeys in assembly window
2 parents 010aca4 + e8f41a0 commit b4c5161

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/gui/gui.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ void PCSX::GUI::endFrame() {
802802
if (ImGui::MenuItem(_("Soft Reset"), "F8")) {
803803
g_system->softReset();
804804
}
805-
if (ImGui::MenuItem(_("Hard Reset"), "shift-F8")) {
805+
if (ImGui::MenuItem(_("Hard Reset"), "Shift+F8")) {
806806
g_system->hardReset();
807807
}
808808
ImGui::EndMenu();

src/gui/widgets/assembly.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,13 +408,13 @@ void PCSX::Widgets::Assembly::draw(GUI* gui, psxRegisters* registers, Memory* me
408408
ImGui::EndMenu();
409409
}
410410
if (ImGui::BeginMenu(_("Debug"))) {
411-
if (ImGui::MenuItem(_("Pause"), nullptr, nullptr, g_system->running())) g_system->pause();
412-
if (ImGui::MenuItem(_("Resume"), nullptr, nullptr, !g_system->running())) g_system->resume();
411+
if (ImGui::MenuItem(_("Pause"), "F6", nullptr, g_system->running())) g_system->pause();
412+
if (ImGui::MenuItem(_("Resume"), "F5", nullptr, !g_system->running())) g_system->resume();
413413
ImGui::Separator();
414-
if (ImGui::MenuItem(_("Step In"), nullptr, nullptr, !g_system->running())) g_emulator->m_debug->stepIn();
415-
if (ImGui::MenuItem(_("Step Over"), nullptr, nullptr, !g_system->running()))
414+
if (ImGui::MenuItem(_("Step In"), "F11", nullptr, !g_system->running())) g_emulator->m_debug->stepIn();
415+
if (ImGui::MenuItem(_("Step Over"), "F10", nullptr, !g_system->running()))
416416
g_emulator->m_debug->stepOver();
417-
if (ImGui::MenuItem(_("Step Out"), nullptr, nullptr, !g_system->running())) g_emulator->m_debug->stepOut();
417+
if (ImGui::MenuItem(_("Step Out"), "Shift+F11", nullptr, !g_system->running())) g_emulator->m_debug->stepOut();
418418
ImGui::EndMenu();
419419
}
420420
if (ImGui::BeginMenu(_("Options"))) {

0 commit comments

Comments
 (0)