mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
ImGui: Add "repeatshift" buttons that auto-repeat if you hold shift.
This commit is contained in:
1 parent
ad17ec5fc8
commit
a97ea04827
11 files changed
+81
-10
No files matched your search
@@ -1,4 +1,5 @@
|
||||
#include "ext/imgui/imgui_internal.h"
|
||||
#include "ext/imgui/imgui_extras.h"
|
||||
#include "ext/imgui/imgui_impl_thin3d.h"
|
||||
|
||||
#include "Common/StringUtils.h"
|
||||
@@ -1239,8 +1240,7 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, ImConfig &cfg, ImContro
|
||||
}
|
||||
|
||||
ImGui::SameLine();
|
||||
ImGui::SmallButton("Skim");
|
||||
if (ImGui::IsItemActive()) {
|
||||
if (ImGui::RepeatButton("Skim")) {
|
||||
u32 stepSize = disasmView_.getInstructionSizeAt(mipsDebug->GetPC());
|
||||
Core_RequestCPUStep(CPUStepType::Into, stepSize);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user