From 8ba14b5858bf97ba84d316b9d5640100f890acbb Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 21 May 2016 18:33:45 -0700 Subject: [PATCH] Mark Change... as the double click action. --- Windows/GEDebugger/TabState.cpp | 1 + Windows/ppsspp.rc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Windows/GEDebugger/TabState.cpp b/Windows/GEDebugger/TabState.cpp index 849b54bbff..bf90ca443b 100644 --- a/Windows/GEDebugger/TabState.cpp +++ b/Windows/GEDebugger/TabState.cpp @@ -862,6 +862,7 @@ void CtrlStateValues::OnRightClick(int row, int column, const POINT &point) { ClientToScreen(GetHandle(), &screenPt); HMENU subMenu = GetSubMenu(g_hPopupMenus, POPUP_SUBMENU_ID_GEDBG_STATE); + SetMenuDefaultItem(subMenu, ID_REGLIST_CHANGE, FALSE); switch (TrackPopupMenuEx(subMenu, TPM_RIGHTBUTTON | TPM_RETURNCMD, screenPt.x, screenPt.y, GetHandle(), 0)) { case ID_DISASM_TOGGLEBREAKPOINT: diff --git a/Windows/ppsspp.rc b/Windows/ppsspp.rc index d12e66e01b..c06844729f 100644 --- a/Windows/ppsspp.rc +++ b/Windows/ppsspp.rc @@ -628,12 +628,13 @@ BEGIN END POPUP "stateoptions" BEGIN + MENUITEM "Change...", ID_REGLIST_CHANGE + MENUITEM SEPARATOR MENUITEM "Copy Value (Hex)", ID_DISASM_COPYINSTRUCTIONHEX MENUITEM "Copy Value (Formatted)", ID_DISASM_COPYINSTRUCTIONDISASM MENUITEM "Copy Entire Tab (Formatted)",ID_DEBDG_COPYALL MENUITEM SEPARATOR MENUITEM "Toggle Breakpoint", ID_DISASM_TOGGLEBREAKPOINT - MENUITEM "Change...", ID_REGLIST_CHANGE END END