mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix changing resolution of software renderer
This commit is contained in:
parent
5418f25d85
commit
7073fa6a24
1
CHANGES
1
CHANGES
|
@ -10,6 +10,7 @@ Bugfixes:
|
||||||
- GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch
|
- GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch
|
||||||
- GB MBC: Fix SRAM dangling pointer with RTC games
|
- GB MBC: Fix SRAM dangling pointer with RTC games
|
||||||
- Windows: Fix Unicode directory handling
|
- Windows: Fix Unicode directory handling
|
||||||
|
- Qt: Fix changing resolution of software renderer
|
||||||
Misc:
|
Misc:
|
||||||
- SDL: Remove scancode key input
|
- SDL: Remove scancode key input
|
||||||
- GBA Video: Clean up unused timers
|
- GBA Video: Clean up unused timers
|
||||||
|
|
|
@ -23,6 +23,7 @@ DisplayQt::DisplayQt(QWidget* parent)
|
||||||
|
|
||||||
void DisplayQt::startDrawing(mCoreThread* context) {
|
void DisplayQt::startDrawing(mCoreThread* context) {
|
||||||
context->core->desiredVideoDimensions(context->core, &m_width, &m_height);
|
context->core->desiredVideoDimensions(context->core, &m_width, &m_height);
|
||||||
|
m_backing = std::move(QImage());
|
||||||
m_isDrawing = true;
|
m_isDrawing = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue