From 534ef05cc0cef8c523d282680b024334a50d7799 Mon Sep 17 00:00:00 2001 From: stephena Date: Wed, 13 Dec 2006 00:32:17 +0000 Subject: [PATCH] Made 'tiadefaults' only reset the width and height to defaults. XStart and YStart properties aren't touched, since in some cases they're needed for correct emulation. This is similar to how z26 works internally, since it also has a YStart-like functionality. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1208 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/emucore/PropsSet.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stella/src/emucore/PropsSet.cxx b/stella/src/emucore/PropsSet.cxx index 81f21211c..0ccb071fb 100644 --- a/stella/src/emucore/PropsSet.cxx +++ b/stella/src/emucore/PropsSet.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: PropsSet.cxx,v 1.25 2006-12-08 16:49:27 stephena Exp $ +// $Id: PropsSet.cxx,v 1.26 2006-12-13 00:32:17 stephena Exp $ //============================================================================ #include @@ -121,9 +121,9 @@ void PropertiesSet::getMD5(const string& md5, Properties& properties, // Reset TIA positioning to defaults if option is enabled if(myOSystem->settings().getBool("tiadefaults")) { - properties.set(Display_XStart, Properties::ourDefaultProperties[Display_XStart]); +// properties.set(Display_XStart, Properties::ourDefaultProperties[Display_XStart]); properties.set(Display_Width, Properties::ourDefaultProperties[Display_Width]); - properties.set(Display_YStart, Properties::ourDefaultProperties[Display_YStart]); +// properties.set(Display_YStart, Properties::ourDefaultProperties[Display_YStart]); properties.set(Display_Height, Properties::ourDefaultProperties[Display_Height]); } }