From d197339665ee5ef4c39f42c65e1360111dd5ca18 Mon Sep 17 00:00:00 2001 From: itayc0hen Date: Fri, 6 Dec 2019 19:57:11 +0200 Subject: [PATCH] Use uppercase for program counter name --- src/menus/DisassemblyContextMenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menus/DisassemblyContextMenu.cpp b/src/menus/DisassemblyContextMenu.cpp index f544b073..3b24f25b 100644 --- a/src/menus/DisassemblyContextMenu.cpp +++ b/src/menus/DisassemblyContextMenu.cpp @@ -490,7 +490,7 @@ void DisassemblyContextMenu::aboutToShowSlot() // Only show debug options if we are currently debugging debugMenu->menuAction()->setVisible(Core()->currentlyDebugging); - QString progCounterName = Core()->getRegisterName("PC"); + QString progCounterName = Core()->getRegisterName("PC").toUpper(); actionSetPC.setText("Set " + progCounterName + " here"); } @@ -726,7 +726,7 @@ void DisassemblyContextMenu::on_actionContinueUntil_triggered() void DisassemblyContextMenu::on_actionSetPC_triggered() { QString progCounterName = Core()->getRegisterName("PC"); - Core()->setRegister(progCounterName, RAddressString(offset)); + Core()->setRegister(progCounterName, RAddressString(offset).toUpper()); } void DisassemblyContextMenu::on_actionAddComment_triggered()