From 7c8785d846bc9c813f37f610ed72f210cceba3b1 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Sat, 12 May 2012 06:56:00 +0200 Subject: WINTERMUTE: Require 32bpp for now. --- engines/wintermute/wintermute.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/wintermute') diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp index e83261225f..e756f568c6 100644 --- a/engines/wintermute/wintermute.cpp +++ b/engines/wintermute/wintermute.cpp @@ -73,7 +73,9 @@ Common::Error WinterMuteEngine::run() { // Initialize graphics using following: Graphics::PixelFormat format(4, 8, 8, 8, 8, 24, 16, 8, 0); initGraphics(800, 600, false, &format); - + if (g_system->getScreenFormat() != format) { + error("Wintermute currently REQUIRES 32bpp"); + } // You could use backend transactions directly as an alternative, // but it isn't recommended, until you want to handle the error values // from OSystem::endGFXTransaction yourself. -- cgit v1.2.3