mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix a crash in the memory viewer
This commit is contained in:
parent
ebc7c2e50f
commit
de557fcbdd
1
CHANGES
1
CHANGES
|
@ -6,6 +6,7 @@ Bugfixes:
|
||||||
- Qt: Fix clear button/analog buttons in gamepad mapper on some platforms
|
- Qt: Fix clear button/analog buttons in gamepad mapper on some platforms
|
||||||
- GBA Video: Fix _mix for 15-bit color
|
- GBA Video: Fix _mix for 15-bit color
|
||||||
- Qt: Fix font size in memory viewer
|
- Qt: Fix font size in memory viewer
|
||||||
|
- Qt: Fix a crash in the memory viewer
|
||||||
Misc:
|
Misc:
|
||||||
- GBA Audio: Implement missing flags on SOUNDCNT_X register
|
- GBA Audio: Implement missing flags on SOUNDCNT_X register
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,9 @@ void MemoryView::updateStatus() {
|
||||||
m_ui.uintVal->clear();
|
m_ui.uintVal->clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!m_controller->isLoaded()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
ARMCore* cpu = m_controller->thread()->cpu;
|
ARMCore* cpu = m_controller->thread()->cpu;
|
||||||
union {
|
union {
|
||||||
uint32_t u32;
|
uint32_t u32;
|
||||||
|
|
Loading…
Reference in New Issue