all repos — mgba @ 89d6770abdd1023a7a3e08bc745dfa50b5a61561

mGBA Game Boy Advance Emulator

Qt: Fix opening in fullscreen (fixes #993)
Vicki Pfau vi@endrift.com
Sat, 24 Feb 2018 15:01:28 -0500
commit

89d6770abdd1023a7a3e08bc745dfa50b5a61561

parent

f511e937db1df9786549c3f90749352f2c3117af

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

jump to
M CHANGESCHANGES

@@ -23,6 +23,7 @@ - Wii: Fix screen tear when unpausing

- GBA: Fix some GBA ROM misdetection (fixes mgba.io/i/978) - GBA Hardware: RTC accuracy improvements - GBA: Fix SharkPort saves for EEPROM games + - Qt: Fix opening in fullscreen (fixes mgba.io/i/993) Misc: - GBA: Improve multiboot image detection - GB MBC: Remove erroneous bank 0 wrapping
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -244,7 +244,9 @@ QSize newSize(size);

m_screenWidget->setSizeHint(newSize); newSize -= m_screenWidget->size(); newSize += this->size(); - resize(newSize); + if (!isFullScreen()) { + resize(newSize); + } } void Window::setConfig(ConfigController* config) {