diff options
author | athrxx | 2011-06-15 22:01:24 +0200 |
---|---|---|
committer | athrxx | 2011-06-15 22:30:04 +0200 |
commit | 0a42a7d6257cedfe461ef65de565b8007e3a0c72 (patch) | |
tree | 180fa90d5e3f7b1d5ed64d3c92476b7bc6a774bb /engines/scumm/gfx.cpp | |
parent | e0efde7cf65e0f22d5afa830339fb1dc6ca91479 (diff) | |
download | scummvm-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.cpp | 2 |
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; |