add Emscripten port

This commit is contained in:
Ash Wolf
2019-12-25 23:40:27 +00:00
parent e5f62ceb53
commit 015f6c94d4
11 changed files with 364 additions and 9 deletions

View File

@@ -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)));
}