]> localhost Git - WindEmu.git/commitdiff
change fb format to rgb444
authorGeorge Wright <gw@gwright.org.uk>
Sat, 7 Dec 2024 19:48:16 +0000 (11:48 -0800)
committerGeorge Wright <gw@gwright.org.uk>
Sat, 7 Dec 2024 19:48:16 +0000 (11:48 -0800)
WindQt/pdascreenwindow.cpp

index ca8558b2ab7a86fd6f79e60b505e6473727f7a3b..884b7f1bb52ec0c9ce336dce1d94fe0ac5945b82 100644 (file)
@@ -54,7 +54,7 @@ PDAScreenWindow::PDAScreenWindow(EmuBase *emu, QWidget *parent) :
 
 void PDAScreenWindow::updateScreen() {
        uint8_t *lines[1024];
-       QImage img(emu->getLCDWidth(), emu->getLCDHeight(), QImage::Format_Grayscale8);
+       QImage img(emu->getLCDWidth(), emu->getLCDHeight(), QImage::Format_RGB444);
        for (int y = 0; y < img.height(); y++)
                lines[y] = img.scanLine(y);
        emu->readLCDIntoBuffer(lines, false);