diff options
author | Marcus Comstedt | 2009-03-17 22:09:33 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-03-17 22:09:33 +0000 |
commit | da142af5d4d6761cb9a1e70ead561396827ca780 (patch) | |
tree | 24de03f463deed9ce466c351755bc1f75509fae4 /backends/platform/dc/display.cpp | |
parent | 063ce3938d6cbd98843d062a6d5a0f6738d888ef (diff) | |
download | scummvm-rg350-da142af5d4d6761cb9a1e70ead561396827ca780.tar.gz scummvm-rg350-da142af5d4d6761cb9a1e70ead561396827ca780.tar.bz2 scummvm-rg350-da142af5d4d6761cb9a1e70ead561396827ca780.zip |
Changed grabOverlay() and copyRectToOverlay() to use OverlayColor instead of int16.
svn-id: r39493
Diffstat (limited to 'backends/platform/dc/display.cpp')
-rw-r--r-- | backends/platform/dc/display.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/dc/display.cpp b/backends/platform/dc/display.cpp index d9c56c70ee..b52ecebd5e 100644 --- a/backends/platform/dc/display.cpp +++ b/backends/platform/dc/display.cpp @@ -555,7 +555,7 @@ void OSystem_Dreamcast::clearOverlay() _overlay_dirty = true; } -void OSystem_Dreamcast::grabOverlay(int16 *buf, int pitch) +void OSystem_Dreamcast::grabOverlay(OverlayColor *buf, int pitch) { int h = OVL_H; unsigned short *src = overlay; @@ -566,7 +566,7 @@ void OSystem_Dreamcast::grabOverlay(int16 *buf, int pitch) } while (--h); } -void OSystem_Dreamcast::copyRectToOverlay(const int16 *buf, int pitch, +void OSystem_Dreamcast::copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h) { if (w<1 || h<1) |