summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-03-30 17:22:52 +0200
committerLioncash <mathew1800@gmail.com>2015-03-30 17:25:02 +0200
commit0520a3b178405992cc60e914b38d278ee9afbdc9 (patch)
treece01b508adbbfc268f63571c498460660e05c323 /src/citra_qt/debugger
parentMerge pull request #672 from purpasmart96/citra_moar_app_mem (diff)
downloadyuzu-0520a3b178405992cc60e914b38d278ee9afbdc9.tar
yuzu-0520a3b178405992cc60e914b38d278ee9afbdc9.tar.gz
yuzu-0520a3b178405992cc60e914b38d278ee9afbdc9.tar.bz2
yuzu-0520a3b178405992cc60e914b38d278ee9afbdc9.tar.lz
yuzu-0520a3b178405992cc60e914b38d278ee9afbdc9.tar.xz
yuzu-0520a3b178405992cc60e914b38d278ee9afbdc9.tar.zst
yuzu-0520a3b178405992cc60e914b38d278ee9afbdc9.zip
Diffstat (limited to 'src/citra_qt/debugger')
-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