all repos — mgba @ 8beb7e8e160e5638ffe59f5b934d27ee45895a79

mGBA Game Boy Advance Emulator

Qt: Fix Software renderer not handling alpha bits properly
Vicki Pfau vi@endrift.com
Tue, 11 Jul 2017 10:36:12 -0700
commit

8beb7e8e160e5638ffe59f5b934d27ee45895a79

parent

6e03d88818e414f25c100155a0163f65a2afd885

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

jump to
M CHANGESCHANGES

@@ -180,6 +180,7 @@ - GB Audio: Fix zombie mode bit masking

- GBA Timer: Fix count-up timing overflowing timer 3 - Core: Fix rewinding getting out of sync (fixes mgba.io/i/791) - Qt: Fix GL-less build + - Qt: Fix Software renderer not handling alpha bits properly Misc: - Qt: Add language selector - GBA Timer: Improve accuracy of timers
M src/platform/qt/DisplayQt.cppsrc/platform/qt/DisplayQt.cpp

@@ -50,7 +50,8 @@ #else

m_backing = QImage(reinterpret_cast<const uchar*>(buffer), m_width, m_height, QImage::Format_RGB555); #endif #else - m_backing = QImage(reinterpret_cast<const uchar*>(buffer), m_width, m_height, QImage::Format_RGB32); + m_backing = QImage(reinterpret_cast<const uchar*>(buffer), m_width, m_height, QImage::Format_ARGB32); + m_backing = m_backing.convertToFormat(QImage::Format_RGB32); #endif }