From 19576b10931af0cfc907476a87ccbd88eebfc0ae Mon Sep 17 00:00:00 2001 From: George Wright Date: Sat, 7 Dec 2024 11:48:16 -0800 Subject: [PATCH] change fb format to rgb444 --- WindQt/pdascreenwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2