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
@@ -6,6 +6,7 @@ - Qt: Fix a race condition in PainterGL that could lead to a crash
- Qt: Fix clear button/analog buttons in gamepad mapper on some platforms - GBA Video: Fix _mix for 15-bit color - Qt: Fix font size in memory viewer + - Qt: Fix a crash in the memory viewer Misc: - GBA Audio: Implement missing flags on SOUNDCNT_X register
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;