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.h | |
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.h')
-rw-r--r-- | engines/scumm/gfx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/gfx.h b/engines/scumm/gfx.h index 6da07efd18..54ce724da1 100644 --- a/engines/scumm/gfx.h +++ b/engines/scumm/gfx.h @@ -443,7 +443,7 @@ public: // switching graphics layers on and off). class TownsScreen { public: - TownsScreen(OSystem *system, int width, int height, int bpp); + TownsScreen(OSystem *system, int width, int height, Graphics::PixelFormat &format); ~TownsScreen(); void setupLayer(int layer, int width, int height, int numCol, void *srcPal = 0); @@ -490,7 +490,7 @@ private: int _height; int _width; int _pitch; - int _bpp; + Graphics::PixelFormat _pixelFormat; int _numDirtyRects; Common::List<Common::Rect> _dirtyRects; |