Qt: Fix opening in fullscreen (fixes #993)
This commit is contained in:
parent
523fb63c30
commit
0a8986dcb2
1
CHANGES
1
CHANGES
@ -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,8 +186,10 @@ void Window::resizeFrame(const QSize& size) {
|
||||
m_screenWidget->setSizeHint(newSize);
|
||||
newSize -= m_screenWidget->size();
|
||||
newSize += this->size();
|
||||
if (!isFullScreen()) {
|
||||
resize(newSize);
|
||||
}
|
||||
}
|
||||
|
||||
void Window::setConfig(ConfigController* config) {
|
||||
m_config = config;
|
||||
|
Loading…
x
Reference in New Issue
Block a user