summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/callstack.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-04-01 04:33:23 +0200
committerbunnei <bunneidev@gmail.com>2015-04-01 04:33:23 +0200
commitd95d6e3ecd2967ff93690888c30cd0b4345dc3f3 (patch)
treec20b3d508bbe75f21c38250479298067ae424a5f /src/citra_qt/debugger/callstack.cpp
parentMerge pull request #679 from lioncash/const (diff)
parentcallstack: Remove unnecessary disassembler instantiation (diff)
downloadyuzu-d95d6e3ecd2967ff93690888c30cd0b4345dc3f3.tar
yuzu-d95d6e3ecd2967ff93690888c30cd0b4345dc3f3.tar.gz
yuzu-d95d6e3ecd2967ff93690888c30cd0b4345dc3f3.tar.bz2
yuzu-d95d6e3ecd2967ff93690888c30cd0b4345dc3f3.tar.lz
yuzu-d95d6e3ecd2967ff93690888c30cd0b4345dc3f3.tar.xz
yuzu-d95d6e3ecd2967ff93690888c30cd0b4345dc3f3.tar.zst
yuzu-d95d6e3ecd2967ff93690888c30cd0b4345dc3f3.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/debugger/callstack.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/callstack.cpp b/src/citra_qt/debugger/callstack.cpp
index 9bb22ca2e..3742c2d38 100644
--- a/src/citra_qt/debugger/callstack.cpp
+++ b/src/citra_qt/debugger/callstack.cpp
@@ -27,7 +27,6 @@ CallstackWidget::CallstackWidget(QWidget* parent): QDockWidget(parent)
void CallstackWidget::OnDebugModeEntered()
{
- ARM_Disasm* disasm = new ARM_Disasm();
ARM_Interface* app_core = Core::g_app_core;
u32 sp = app_core->GetReg(13); //stack pointer
@@ -46,7 +45,7 @@ void CallstackWidget::OnDebugModeEntered()
/* TODO (mattvail) clean me, move to debugger interface */
u32 insn = Memory::Read32(call_addr);
- if (disasm->Decode(insn) == OP_BL)
+ if (ARM_Disasm::Decode(insn) == OP_BL)
{
std::string name;
// ripped from disasm