aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/systemps2.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-16 00:10:40 +0100
committerJohannes Schickel2011-02-16 00:10:40 +0100
commit46c5732ba54be263019f59a98d3ea7a2118e60a4 (patch)
treeb784a34f475a7f4fbd3f6f5ff556ebf2c3ff94cc /backends/platform/ps2/systemps2.cpp
parent462f06d8061748d2819371056dabc7a0e0fc456e (diff)
downloadscummvm-rg350-46c5732ba54be263019f59a98d3ea7a2118e60a4.tar.gz
scummvm-rg350-46c5732ba54be263019f59a98d3ea7a2118e60a4.tar.bz2
scummvm-rg350-46c5732ba54be263019f59a98d3ea7a2118e60a4.zip
PS2: Adapt to setPalette/grabPalette RGBA->RGB change.
This change is not tested.
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
-rw-r--r--backends/platform/ps2/systemps2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp
index ab7839e18f..77de74eb5b 100644
--- a/backends/platform/ps2/systemps2.cpp
+++ b/backends/platform/ps2/systemps2.cpp
@@ -544,11 +544,11 @@ void OSystem_PS2::initSize(uint width, uint height, const Graphics::PixelFormat
}
void OSystem_PS2::setPalette(const byte *colors, uint start, uint num) {
- _screen->setPalette((const uint32*)colors, (uint8)start, (uint16)num);
+ _screen->setPalette(colors, (uint8)start, (uint16)num);
}
void OSystem_PS2::grabPalette(byte *colors, uint start, uint num) {
- _screen->grabPalette((uint32*)colors, (uint8)start, (uint16)num);
+ _screen->grabPalette(colors, (uint8)start, (uint16)num);
}
void OSystem_PS2::copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h) {