mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
ImDebugger: Replace the Skim button by adding hold-shift functionality to "Into"
That is, you can hold shift to repeatedly click the button.
This commit is contained in:
1 parent
f9c0c41074
commit
bc688d83b1
1 file changed
+1
-7
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user