From 162cc47c71767b264f157e3ebf9d61eea1f6bd97 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 5 May 2012 22:45:57 +1000 Subject: TONY: Fix screen initialisation to be in 16-bit mode --- engines/tony/window.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/tony/window.cpp') diff --git a/engines/tony/window.cpp b/engines/tony/window.cpp index 8e23ec8aa5..d5c9925111 100644 --- a/engines/tony/window.cpp +++ b/engines/tony/window.cpp @@ -72,7 +72,8 @@ RMWindow::~RMWindow() { * Initialises the graphics window */ void RMWindow::Init() { - initGraphics(RM_SX, RM_SY, false); + Graphics::PixelFormat pixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0); + initGraphics(RM_SX, RM_SY, false, &pixelFormat); // Inizializza i conteggi degli FPS fps = lastfcount = fcount = lastsecond = 0; -- cgit v1.2.3