[Scummvm-cvs-logs] SF.net SVN: scummvm:[39493] scummvm/trunk/backends/platform/dc
marcus_c at users.sourceforge.net
marcus_c at users.sourceforge.net
Tue Mar 17 23:09:34 CET 2009
Revision: 39493
http://scummvm.svn.sourceforge.net/scummvm/?rev=39493&view=rev
Author: marcus_c
Date: 2009-03-17 22:09:33 +0000 (Tue, 17 Mar 2009)
Log Message:
-----------
Changed grabOverlay() and copyRectToOverlay() to use OverlayColor instead of int16.
Modified Paths:
--------------
scummvm/trunk/backends/platform/dc/dc.h
scummvm/trunk/backends/platform/dc/display.cpp
Modified: scummvm/trunk/backends/platform/dc/dc.h
===================================================================
--- scummvm/trunk/backends/platform/dc/dc.h 2009-03-17 21:08:33 UTC (rev 39492)
+++ scummvm/trunk/backends/platform/dc/dc.h 2009-03-17 22:09:33 UTC (rev 39493)
@@ -151,8 +151,8 @@
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
Modified: scummvm/trunk/backends/platform/dc/display.cpp
===================================================================
--- scummvm/trunk/backends/platform/dc/display.cpp 2009-03-17 21:08:33 UTC (rev 39492)
+++ scummvm/trunk/backends/platform/dc/display.cpp 2009-03-17 22:09:33 UTC (rev 39493)
@@ -555,7 +555,7 @@
_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 @@
} 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)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list