aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
diff options
context:
space:
mode:
authorMarcus Comstedt2005-10-10 17:58:35 +0000
committerMarcus Comstedt2005-10-10 17:58:35 +0000
commit78e619efaf7676da4ea9b3c222fb2eecfef24668 (patch)
treeaf8445466741dbfa61e3203edef6ee0761466b74 /backends/dc
parent6ce32fd4a5ce9f819cf6582e0f6f2a0a24b8aec1 (diff)
downloadscummvm-rg350-78e619efaf7676da4ea9b3c222fb2eecfef24668.tar.gz
scummvm-rg350-78e619efaf7676da4ea9b3c222fb2eecfef24668.tar.bz2
scummvm-rg350-78e619efaf7676da4ea9b3c222fb2eecfef24668.zip
gBitFormat seems to be back in libcommon again... (This underhanded parameter passing has to go.)
svn-id: r19005
Diffstat (limited to 'backends/dc')
-rw-r--r--backends/dc/display.cpp5
1 files 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 <common/stdafx.h>
#include <common/scummsys.h>
+#include <common/scaler/intern.h>
#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;