aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/graphics.h
diff options
context:
space:
mode:
authorBastien Bouclet2010-12-17 11:31:08 +0000
committerBastien Bouclet2010-12-17 11:31:08 +0000
commitc441539bb0e86a98a1dc14c1de16d7157947d611 (patch)
tree98463d029859c642f2cdd20e8b0ce7cfec70964f /engines/mohawk/graphics.h
parent8d1f3f00adce5c755907f45cc5c304354ccea4e1 (diff)
downloadscummvm-rg350-c441539bb0e86a98a1dc14c1de16d7157947d611.tar.gz
scummvm-rg350-c441539bb0e86a98a1dc14c1de16d7157947d611.tar.bz2
scummvm-rg350-c441539bb0e86a98a1dc14c1de16d7157947d611.zip
MOHAWK: Change resolution to 544x332 to match the original.
This fixes the vertical alignment issues, and graphic corruption on some cards. svn-id: r54943
Diffstat (limited to 'engines/mohawk/graphics.h')
-rw-r--r--engines/mohawk/graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h
index 873873ccda..bf6f99af07 100644
--- a/engines/mohawk/graphics.h
+++ b/engines/mohawk/graphics.h
@@ -114,7 +114,7 @@ public:
void copyImageSectionToBackBuffer(uint16 image, Common::Rect src, Common::Rect dest);
void copyImageToScreen(uint16 image, Common::Rect dest);
void copyImageToBackBuffer(uint16 image, Common::Rect dest);
- void copyBackBufferToScreen(const Common::Rect &r);
+ void copyBackBufferToScreen(Common::Rect r);
void runTransition(uint16 type, Common::Rect rect, uint16 steps, uint16 delay);
void drawRect(Common::Rect rect, RectState state);
void drawLine(const Common::Point &p1, const Common::Point &p2, uint32 color);
@@ -145,6 +145,7 @@ private:
Graphics::Surface *_backBuffer;
Graphics::PixelFormat _pixelFormat;
+ static const Common::Rect _viewport;
};
struct SFXERecord {