Permalink
Browse files

Qt: Fix opening in fullscreen (fixes #993)

  • Loading branch information...
endrift committed Feb 24, 2018
1 parent 523fb63 commit 0a8986dcb2082ae42811ffd32bb56a568ab94a52
Showing with 4 additions and 1 deletion.
  1. +1 −0 CHANGES
  2. +3 −1 src/platform/qt/Window.cpp
View
@@ -51,6 +51,7 @@ Bugfixes:
- GB Timer: Minor accuracy improvements
- GB Audio: Clock frame events on DIV
- GBA: Fix SharkPort saves for EEPROM games
+ - Qt: Fix opening in fullscreen (fixes mgba.io/i/993)
Misc:
- GBA Timer: Use global cycles for timers
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
@@ -186,7 +186,9 @@ void Window::resizeFrame(const QSize& size) {
m_screenWidget->setSizeHint(newSize);
newSize -= m_screenWidget->size();
newSize += this->size();
- resize(newSize);
+ if (!isFullScreen()) {
+ resize(newSize);
+ }
}
void Window::setConfig(ConfigController* config) {

0 comments on commit 0a8986d

Please sign in to comment.