diff --git a/stella/src/common/Version.hxx b/stella/src/common/Version.hxx index 6f66cd78a..84f418566 100644 --- a/stella/src/common/Version.hxx +++ b/stella/src/common/Version.hxx @@ -13,13 +13,13 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: Version.hxx,v 1.23 2007-01-01 18:21:04 stephena Exp $ +// $Id: Version.hxx,v 1.24 2007-01-10 20:29:10 stephena Exp $ //============================================================================ #ifndef VERSION_HXX #define VERSION_HXX -#define STELLA_BASE_VERSION "2.3.02" +#define STELLA_BASE_VERSION "2.3.03" #ifdef NIGHTLY_BUILD #define STELLA_VERSION STELLA_BASE_VERSION "pre-" NIGHTLY_BUILD diff --git a/stella/src/gui/Launcher.cxx b/stella/src/gui/Launcher.cxx index deecb469c..b50fd5cf2 100644 --- a/stella/src/gui/Launcher.cxx +++ b/stella/src/gui/Launcher.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: Launcher.cxx,v 1.11 2007-01-01 18:04:53 stephena Exp $ +// $Id: Launcher.cxx,v 1.12 2007-01-10 20:29:10 stephena Exp $ //============================================================================ #include "Version.hxx" @@ -46,6 +46,13 @@ Launcher::Launcher(OSystem* osystem) myHeight = 384; break; } + + // Error check the resolution + int w, h; + osystem->getScreenDimensions(w, h); + if(myWidth > w) myWidth = w; + if(myHeight > h) myHeight = h; + myBaseDialog = new LauncherDialog(myOSystem, this, 0, 0, myWidth, myHeight); }