From 262d0e261fcc86a3b8e9afd41233898cf6baa2e3 Mon Sep 17 00:00:00 2001 From: knakos Date: Thu, 20 Apr 2006 18:10:56 +0000 Subject: [PATCH] resolution reporting fix git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1094 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/wince/OSystemWinCE.hxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/stella/src/wince/OSystemWinCE.hxx b/stella/src/wince/OSystemWinCE.hxx index 47695c737..e3a7e334b 100644 --- a/stella/src/wince/OSystemWinCE.hxx +++ b/stella/src/wince/OSystemWinCE.hxx @@ -8,7 +8,7 @@ // SS SS tt ee ll ll aa aa // SSSS ttt eeeee llll llll aaaaa // -// Copyright (c) 1995-2005 by Bradford W. Mott and the Stella team +// Copyright (c) 1995-2006 by Bradford W. Mott and the Stella team // // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. @@ -32,8 +32,10 @@ class OSystemWinCE : public OSystem virtual void mainLoop(); virtual uInt32 getTicks(void); virtual void setFramerate(uInt32 framerate); - virtual void getScreenDimensions(int& width, int& height) { width = GetSystemMetrics(SM_CXSCREEN); height = GetSystemMetrics(SM_CYSCREEN); }; - inline const GUI::Font& font() const; + // ok, we lie a bit to Stephen here, but it's for a good purpose :) + // we can always display these resolutions anyway + virtual void getScreenDimensions(int& width, int& height) { width = 320; height = 240; }; + inline const GUI::Font& launcherFont() const; }; #endif