Qt: Fix a crash in the memory viewer
Jeffrey Pfau jeffrey@endrift.com
Wed, 04 Nov 2015 23:28:13 -0800
2 files changed,
4 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -14,6 +14,7 @@ - GBA Video: Fix _mix for 15-bit color
- VFS: Fix VFileReadline and remove _vfdReadline - Qt: Fix font size in memory viewer - GBA Memory: Fix DMA register writing behavior + - Qt: Fix a crash in the memory viewer Misc: - Qt: Window size command line options are now supported - Qt: Increase usability of key mapper
M
src/platform/qt/MemoryView.cpp
→
src/platform/qt/MemoryView.cpp
@@ -80,6 +80,9 @@ m_ui.sintVal->clear();
m_ui.uintVal->clear(); return; } + if (!m_controller->isLoaded()) { + return; + } ARMCore* cpu = m_controller->thread()->cpu; union { uint32_t u32;