mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 16:00:30 +02:00
use hex for address in MemCheck
This commit is contained in:
1 parent
edf2975a2c
commit
3e82282bc3
1 file changed
+3
-2
@@ -1,4 +1,5 @@
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
|
||||
|
||||
#include "ext/imgui/imgui_internal.h"
|
||||
@@ -935,8 +936,8 @@ static void DrawBreakpointsView(MIPSDebugInterface *mipsDebug, ImConfig &cfg) {
|
||||
auto &mc = mcs[cfg.selectedMemCheck];
|
||||
ImGui::TextUnformatted("Edit memcheck");
|
||||
ImGui::CheckboxFlags("Enabled", (int *)&mc.result, (int)BREAK_ACTION_PAUSE);
|
||||
ImGui::InputScalar("Start", ImGuiDataType_U32, &mc.start);
|
||||
ImGui::InputScalar("End", ImGuiDataType_U32, &mc.end);
|
||||
ImGui::InputScalar("Start", ImGuiDataType_U32, &mc.start, NULL, NULL, "%08x", ImGuiInputTextFlags_CharsHexadecimal);
|
||||
ImGui::InputScalar("End", ImGuiDataType_U32, &mc.end, NULL, NULL, "%08x", ImGuiInputTextFlags_CharsHexadecimal);
|
||||
if (ImGui::Button("Delete")) {
|
||||
g_breakpoints.RemoveMemCheck(mcs[cfg.selectedMemCheck].start, mcs[cfg.selectedMemCheck].end);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user