mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix jumbled background when paused
This commit is contained in:
parent
426993bbbb
commit
b192330166
1
CHANGES
1
CHANGES
|
@ -111,6 +111,7 @@ Bugfixes:
|
||||||
- Wii: Fix drawing caching regression (fixes mgba.io/i/1185)
|
- Wii: Fix drawing caching regression (fixes mgba.io/i/1185)
|
||||||
- Switch: Fix incorrect mapping for fast forward cap
|
- Switch: Fix incorrect mapping for fast forward cap
|
||||||
- GB, GBA: Fix broken opposing button filter (fixes mgba.io/i/1191)
|
- GB, GBA: Fix broken opposing button filter (fixes mgba.io/i/1191)
|
||||||
|
- Qt: Fix jumbled background when paused
|
||||||
Misc:
|
Misc:
|
||||||
- mGUI: Add SGB border configuration option
|
- mGUI: Add SGB border configuration option
|
||||||
- mGUI: Add support for different settings types
|
- mGUI: Add support for different settings types
|
||||||
|
|
|
@ -1820,7 +1820,7 @@ void Window::focusCheck() {
|
||||||
void Window::updateFrame() {
|
void Window::updateFrame() {
|
||||||
QSize size = m_controller->screenDimensions();
|
QSize size = m_controller->screenDimensions();
|
||||||
QImage currentImage(reinterpret_cast<const uchar*>(m_controller->drawContext()), size.width(), size.height(),
|
QImage currentImage(reinterpret_cast<const uchar*>(m_controller->drawContext()), size.width(), size.height(),
|
||||||
256 * BYTES_PER_PIXEL, QImage::Format_RGBX8888);
|
size.width() * BYTES_PER_PIXEL, QImage::Format_RGBX8888);
|
||||||
QPixmap pixmap;
|
QPixmap pixmap;
|
||||||
pixmap.convertFromImage(currentImage);
|
pixmap.convertFromImage(currentImage);
|
||||||
m_screenWidget->setPixmap(pixmap);
|
m_screenWidget->setPixmap(pixmap);
|
||||||
|
|
Loading…
Reference in New Issue