aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/osys_main.h
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-19 22:19:38 +0100
committerJohannes Schickel2012-02-19 22:19:38 +0100
commit87d85a7b20c611898bbb4c714b40de5691a8d8ff (patch)
treea1ebae101f75cdaf2ee3570cf17a9615c08943cd /backends/platform/iphone/osys_main.h
parentceae3dd191039711ea388e2878397d26a0932611 (diff)
downloadscummvm-rg350-87d85a7b20c611898bbb4c714b40de5691a8d8ff.tar.gz
scummvm-rg350-87d85a7b20c611898bbb4c714b40de5691a8d8ff.tar.bz2
scummvm-rg350-87d85a7b20c611898bbb4c714b40de5691a8d8ff.zip
IPHONE: Use the proper RGBA5551 palette for the mouse cursor.
Formerly the overlay cursor was using a RGB565 palette, even though the texture is really set up as RGBA5551.
Diffstat (limited to 'backends/platform/iphone/osys_main.h')
-rw-r--r--backends/platform/iphone/osys_main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/iphone/osys_main.h b/backends/platform/iphone/osys_main.h
index b89eed9d43..c63ba41319 100644
--- a/backends/platform/iphone/osys_main.h
+++ b/backends/platform/iphone/osys_main.h
@@ -70,7 +70,10 @@ protected:
uint16 *_fullscreen;
+ // For use with the game texture
uint16 _gamePalette[256];
+ // For use with the mouse texture
+ uint16 _gamePaletteRGBA5551[256];
bool _overlayVisible;
uint16 _screenWidth;
uint16 _screenHeight;