aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.cpp
diff options
context:
space:
mode:
authorathrxx2011-06-15 22:01:24 +0200
committerathrxx2011-06-15 22:30:04 +0200
commit0a42a7d6257cedfe461ef65de565b8007e3a0c72 (patch)
tree180fa90d5e3f7b1d5ed64d3c92476b7bc6a774bb /engines/scumm/gfx.cpp
parente0efde7cf65e0f22d5afa830339fb1dc6ca91479 (diff)
downloadscummvm-rg350-0a42a7d6257cedfe461ef65de565b8007e3a0c72.tar.gz
scummvm-rg350-0a42a7d6257cedfe461ef65de565b8007e3a0c72.tar.bz2
scummvm-rg350-0a42a7d6257cedfe461ef65de565b8007e3a0c72.zip
SCUMM: hopefully fix 16bit mode support for SCUMM FM-TOWNS games and LOOM PCE on Android
This mostly reverts 5b7754e3f095eb8a469dd4b7de5a6379f8e13c27. Instead, we try to use other 16bit modes after 555 fails.
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r--engines/scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 1b913e16b4..98d447fdaf 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -661,7 +661,7 @@ void ScummEngine::drawStripToScreen(VirtScreen *vs, int x, int width, int top, i
return;
} else
#endif
- if (_bytesPerPixelOutput == 2) {
+ if (_outputPixelFormat.bytesPerPixel == 2) {
const byte *srcPtr = (const byte *)src;
const byte *textPtr = (byte *)_textSurface.getBasePtr(x * m, y * m);
byte *dstPtr = _compositeBuf;