mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix opening in fullscreen (fixes #993)
This commit is contained in:
parent
f511e937db
commit
89d6770abd
1
CHANGES
1
CHANGES
|
@ -23,6 +23,7 @@ Bugfixes:
|
||||||
- GBA: Fix some GBA ROM misdetection (fixes mgba.io/i/978)
|
- GBA: Fix some GBA ROM misdetection (fixes mgba.io/i/978)
|
||||||
- GBA Hardware: RTC accuracy improvements
|
- GBA Hardware: RTC accuracy improvements
|
||||||
- GBA: Fix SharkPort saves for EEPROM games
|
- GBA: Fix SharkPort saves for EEPROM games
|
||||||
|
- Qt: Fix opening in fullscreen (fixes mgba.io/i/993)
|
||||||
Misc:
|
Misc:
|
||||||
- GBA: Improve multiboot image detection
|
- GBA: Improve multiboot image detection
|
||||||
- GB MBC: Remove erroneous bank 0 wrapping
|
- GB MBC: Remove erroneous bank 0 wrapping
|
||||||
|
|
|
@ -244,7 +244,9 @@ void Window::resizeFrame(const QSize& size) {
|
||||||
m_screenWidget->setSizeHint(newSize);
|
m_screenWidget->setSizeHint(newSize);
|
||||||
newSize -= m_screenWidget->size();
|
newSize -= m_screenWidget->size();
|
||||||
newSize += this->size();
|
newSize += this->size();
|
||||||
resize(newSize);
|
if (!isFullScreen()) {
|
||||||
|
resize(newSize);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::setConfig(ConfigController* config) {
|
void Window::setConfig(ConfigController* config) {
|
||||||
|
|
Loading…
Reference in New Issue