From 78e619efaf7676da4ea9b3c222fb2eecfef24668 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Mon, 10 Oct 2005 17:58:35 +0000 Subject: gBitFormat seems to be back in libcommon again... (This underhanded parameter passing has to go.) svn-id: r19005 --- backends/dc/display.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backends/dc/display.cpp b/backends/dc/display.cpp index 002229330b..4d7be44568 100644 --- a/backends/dc/display.cpp +++ b/backends/dc/display.cpp @@ -24,6 +24,7 @@ #include #include +#include #include "dc.h" #define SCREEN_W 640 @@ -175,6 +176,8 @@ void OSystem_Dreamcast::initSize(uint w, uint h, int overlayScale) { assert(w <= SCREEN_W && h <= SCREEN_H); + gBitFormat = 4444; + _overlay_visible = false; _overlay_fade = 0.0; _screen_w = w; @@ -577,5 +580,3 @@ int OSystem_Dreamcast::getGraphicsMode() const { return 0; } - -int gBitFormat = 4444; -- cgit v1.2.3