From bc688d83b1d0874136c3e41fac1c518c0682f642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 12 Jun 2025 10:23:00 +0200 Subject: [PATCH] ImDebugger: Replace the Skim button by adding hold-shift functionality to "Into" That is, you can hold shift to repeatedly click the button. --- UI/ImDebugger/ImDisasmView.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/UI/ImDebugger/ImDisasmView.cpp b/UI/ImDebugger/ImDisasmView.cpp index e7d7438856..239e67a9bf 100644 --- a/UI/ImDebugger/ImDisasmView.cpp +++ b/UI/ImDebugger/ImDisasmView.cpp @@ -1205,7 +1205,7 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, ImConfig &cfg, ImContro ImGui::Text("Step: "); ImGui::SameLine(); - if (ImGui::SmallButton("Into")) { + if (ImGui::RepeatButtonShift("Into")) { u32 stepSize = disasmView_.getInstructionSizeAt(mipsDebug->GetPC()); Core_RequestCPUStep(CPUStepType::Into, stepSize); } @@ -1239,12 +1239,6 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, ImConfig &cfg, ImContro Core_Resume(); } - ImGui::SameLine(); - if (ImGui::RepeatButton("Skim")) { - u32 stepSize = disasmView_.getInstructionSizeAt(mipsDebug->GetPC()); - Core_RequestCPUStep(CPUStepType::Into, stepSize); - } - ImGui::EndDisabled(); ImGui::SameLine();