From: George Wright Date: Sat, 7 Dec 2024 19:48:16 +0000 (-0800) Subject: change fb format to rgb444 X-Git-Url: http://git.gwright.org.uk/?a=commitdiff_plain;h=19576b10931af0cfc907476a87ccbd88eebfc0ae;p=WindEmu.git change fb format to rgb444 --- diff --git a/WindQt/pdascreenwindow.cpp b/WindQt/pdascreenwindow.cpp index ca8558b..884b7f1 100644 --- a/WindQt/pdascreenwindow.cpp +++ b/WindQt/pdascreenwindow.cpp @@ -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);