BACKENDS: ATARI: work around engines with unaligned pitch

Too complex to investigate so don't align every 8-bit surface on a
16-byte boundary there.
This commit is contained in:
Miro Kropacek 2023-05-21 23:15:09 +02:00
parent aafed3746b
commit 62d3a3c16e

View File

@ -262,7 +262,10 @@ void AtariGraphicsManager::updateScreen() {
// hard to repair them. So instead of polluting the engine with
// Surface::init() & delete[] Surface::getPixels() just use this hack.
Common::String engineId = activeDomain->getValOrDefault("engineid");
if (engineId == "parallaction") {
if (engineId == "parallaction"
|| engineId == "mohawk"
|| engineId == "sherlock"
|| engineId == "tsage") {
g_unalignedPitch = true;
}
}