all repos — mgba @ de557fcbddc6736dd9234d0494fd896b0927a57d

mGBA Game Boy Advance Emulator

Qt: Fix a crash in the memory viewer
Jeffrey Pfau jeffrey@endrift.com
Wed, 04 Nov 2015 23:28:13 -0800
commit

de557fcbddc6736dd9234d0494fd896b0927a57d

parent

ebc7c2e50f47124e9133031052b5d18f63ab8bfa

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.cppsrc/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;