Remove the concept of stepSize from the debugger

This commit is contained in:
Henrik Rydgård committed 2026-08-16 16:59:54 +02:00
1 parent c13f6e82fe
commit 14405c08cf
6 files changed
+17 -32

No files matched your search

+6 -6
View File
@@ -1093,10 +1093,10 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, ImConfig &cfg, ImContro
if (ImGui::IsWindowFocused()) {
// Process stepping keyboard shortcuts.
if (ImGui::IsKeyPressed(ImGuiKey_F10)) {
Core_RequestCPUStep(CPUStepType::Over, 1);
Core_RequestCPUStep(CPUStepType::Over);
}
if (ImGui::IsKeyPressed(ImGuiKey_F11)) {
Core_RequestCPUStep(CPUStepType::Into, 1);
Core_RequestCPUStep(CPUStepType::Into);
}
}
@@ -1129,7 +1129,7 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, ImConfig &cfg, ImContro
ImGui::SameLine();
if (ImGui::RepeatButtonShift("Into")) {
Core_RequestCPUStep(CPUStepType::Into, 1);
Core_RequestCPUStep(CPUStepType::Into);
}
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("F11");
@@ -1137,7 +1137,7 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, ImConfig &cfg, ImContro
ImGui::SameLine();
if (ImGui::SmallButton("Over")) {
Core_RequestCPUStep(CPUStepType::Over, 1);
Core_RequestCPUStep(CPUStepType::Over);
}
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("F10");
@@ -1145,13 +1145,13 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, ImConfig &cfg, ImContro
ImGui::SameLine();
if (ImGui::SmallButton("Out")) {
Core_RequestCPUStep(CPUStepType::Out, 0);
Core_RequestCPUStep(CPUStepType::Out);
}
/*
ImGui::SameLine();
if (ImGui::SmallButton("Frame")) {
Core_RequestCPUStep(CPUStepType::Frame, 0);
Core_RequestCPUStep(CPUStepType::Frame);
}*/
ImGui::SameLine();