mirror of
https://github.com/Treeki/WindEmu.git
synced 2025-08-02 22:00:01 +00:00
add Emscripten port
This commit is contained in:
@@ -57,7 +57,7 @@ void PDAScreenWindow::updateScreen() {
|
||||
QImage img(emu->getLCDWidth(), emu->getLCDHeight(), QImage::Format_Grayscale8);
|
||||
for (int y = 0; y < img.height(); y++)
|
||||
lines[y] = img.scanLine(y);
|
||||
emu->readLCDIntoBuffer(lines);
|
||||
emu->readLCDIntoBuffer(lines, false);
|
||||
|
||||
lcd->setPixmap(QPixmap::fromImage(std::move(img)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user