mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
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:
parent
aafed3746b
commit
62d3a3c16e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user