aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS/Src/zodiac_gfx.cpp
diff options
context:
space:
mode:
authorChris Apers2007-01-14 17:34:40 +0000
committerChris Apers2007-01-14 17:34:40 +0000
commit4714f64440b2182716fa4618fe16e140b273986c (patch)
tree9df01dc9340bf5e7092911c111ee672109dd148b /backends/platform/PalmOS/Src/zodiac_gfx.cpp
parent9e4502684cfdd0f447e25356388abb27872d2bc3 (diff)
downloadscummvm-rg350-4714f64440b2182716fa4618fe16e140b273986c.tar.gz
scummvm-rg350-4714f64440b2182716fa4618fe16e140b273986c.tar.bz2
scummvm-rg350-4714f64440b2182716fa4618fe16e140b273986c.zip
Added missing grabRawScreen to OS5 backend
svn-id: r25081
Diffstat (limited to 'backends/platform/PalmOS/Src/zodiac_gfx.cpp')
-rw-r--r--backends/platform/PalmOS/Src/zodiac_gfx.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/backends/platform/PalmOS/Src/zodiac_gfx.cpp b/backends/platform/PalmOS/Src/zodiac_gfx.cpp
index bb70983e79..0c590fe86f 100644
--- a/backends/platform/PalmOS/Src/zodiac_gfx.cpp
+++ b/backends/platform/PalmOS/Src/zodiac_gfx.cpp
@@ -24,7 +24,6 @@
#include "be_zodiac.h"
#include "common/config-manager.h"
-#include "graphics/surface.h"
#include "rumble.h"
#ifdef PALMOS_68K
@@ -268,17 +267,8 @@ void OSystem_PalmZodiac::updateScreen() {
undraw_mouse();
}
-bool OSystem_PalmZodiac::grabRawScreen(Graphics::Surface *surf) {
- assert(surf);
-
- surf->create(_screenWidth, _screenHeight, 1);
- MemMove(surf->pixels, _offScreenP, _screenWidth * _screenHeight);
-
- return true;
-}
-
void OSystem_PalmZodiac::extras_palette(uint8 index, uint8 r, uint8 g, uint8 b) {
- _nativePal[index] = TwGfxMakeDisplayRGB( r, g, b);
+ _nativePal[index] = TwGfxMakeDisplayRGB(r, g, b);
}
void OSystem_PalmZodiac::draw_osd(UInt16 id, Int32 x, Int32 y, Boolean show, UInt8 color) {