aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/dc/dc.h4
-rw-r--r--backends/platform/dc/display.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/dc/dc.h b/backends/platform/dc/dc.h
index 4893b5a37c..9d5e6fcace 100644
--- a/backends/platform/dc/dc.h
+++ b/backends/platform/dc/dc.h
@@ -151,8 +151,8 @@ class OSystem_Dreamcast : public BaseBackend, public FilesystemFactory {
void showOverlay();
void hideOverlay();
void clearOverlay();
- void grabOverlay(int16 *buf, int pitch);
- void copyRectToOverlay(const int16 *buf, int pitch, int x, int y, int w, int h);
+ void grabOverlay(OverlayColor *buf, int pitch);
+ void copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h);
virtual Graphics::PixelFormat getOverlayFormat() const { return Graphics::createPixelFormat<4444>(); }
// Mutex handling
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)