aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/wince-sdl.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/wince/wince-sdl.h')
-rw-r--r--backends/platform/wince/wince-sdl.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/backends/platform/wince/wince-sdl.h b/backends/platform/wince/wince-sdl.h
index cd1598c9df..2975491872 100644
--- a/backends/platform/wince/wince-sdl.h
+++ b/backends/platform/wince/wince-sdl.h
@@ -37,10 +37,26 @@
#include <SDL.h>
-
-
#define TOTAL_ZONES 3
+// defines used for implementing the raw frame buffer access method (2003+)
+#define GETRAWFRAMEBUFFER 0x00020001
+#define FORMAT_565 1
+#define FORMAT_555 2
+#define FORMAT_OTHER 3
+#if defined(_WIN32_WCE) && _WIN32_WCE <= 300
+typedef struct _RawFrameBufferInfo
+{
+ WORD wFormat;
+ WORD wBPP;
+ VOID *pFramePointer;
+ int cxStride;
+ int cyStride;
+ int cxPixels;
+ int cyPixels;
+} RawFrameBufferInfo;
+#endif
+
class OSystem_WINCE3 : public OSystem_SDL {
public:
OSystem_WINCE3();