mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Move some stuff around, rename some stuff
This commit is contained in:
1 parent
45dc5f640c
commit
ea43e07cce
7 files changed
+103
-31
No files matched your search
@@ -942,11 +942,11 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, bool *open, CoreState c
|
||||
// Process stepping keyboard shortcuts.
|
||||
if (ImGui::IsKeyPressed(ImGuiKey_F10)) {
|
||||
u32 stepSize = disasmView_.getInstructionSizeAt(mipsDebug->GetPC());
|
||||
Core_RequestSingleStep(CPUStepType::Over, stepSize);
|
||||
Core_RequestCPUStep(CPUStepType::Over, stepSize);
|
||||
}
|
||||
if (ImGui::IsKeyPressed(ImGuiKey_F11)) {
|
||||
u32 stepSize = disasmView_.getInstructionSizeAt(mipsDebug->GetPC());
|
||||
Core_RequestSingleStep(CPUStepType::Into, stepSize);
|
||||
Core_RequestCPUStep(CPUStepType::Into, stepSize);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -972,18 +972,18 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, bool *open, CoreState c
|
||||
ImGui::SameLine();
|
||||
if (ImGui::SmallButton("Step Into")) {
|
||||
u32 stepSize = disasmView_.getInstructionSizeAt(mipsDebug->GetPC());
|
||||
Core_RequestSingleStep(CPUStepType::Into, stepSize);
|
||||
Core_RequestCPUStep(CPUStepType::Into, stepSize);
|
||||
}
|
||||
|
||||
ImGui::SameLine();
|
||||
if (ImGui::SmallButton("Step Over")) {
|
||||
u32 stepSize = disasmView_.getInstructionSizeAt(mipsDebug->GetPC());
|
||||
Core_RequestSingleStep(CPUStepType::Over, stepSize);
|
||||
Core_RequestCPUStep(CPUStepType::Over, stepSize);
|
||||
}
|
||||
|
||||
ImGui::SameLine();
|
||||
if (ImGui::SmallButton("Step Out")) {
|
||||
Core_RequestSingleStep(CPUStepType::Out, 0);
|
||||
Core_RequestCPUStep(CPUStepType::Out, 0);
|
||||
}
|
||||
|
||||
ImGui::EndDisabled();
|
||||
|
||||
Reference in new issue
Block a user