Qt: Fix GL display when loading a game from CLI (fixes #843)

This commit is contained in:
Vicki Pfau 2017-08-04 10:35:09 -07:00
parent a5852c6e12
commit 30db4ebee8
2 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,7 @@ Bugfixes:
- GB MBC: Fix RTC initialization (fixes mgba.io/i/825) - GB MBC: Fix RTC initialization (fixes mgba.io/i/825)
- GB MBC: Fix RTC loading when file size is off - GB MBC: Fix RTC loading when file size is off
- GB Serialize: Fix deserializing video STAT - GB Serialize: Fix deserializing video STAT
- Qt: Fix GL display when loading a game from CLI (fixes mgba.io/i/843)
Misc: Misc:
- GBA Timer: Use global cycles for timers - GBA Timer: Use global cycles for timers
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722) - GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)

View File

@ -560,6 +560,9 @@ void Window::showEvent(QShowEvent* event) {
enterFullScreen(); enterFullScreen();
m_fullscreenOnStart = false; m_fullscreenOnStart = false;
} }
if (m_display) {
reloadDisplayDriver();
}
} }
void Window::closeEvent(QCloseEvent* event) { void Window::closeEvent(QCloseEvent* event) {