aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.h
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.h
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.h')
-rw-r--r--engines/scumm/gfx.h4
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;