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
This commit is contained in:
stephena 2006-12-13 00:32:17 +00:00
parent 7cb5858c6e
commit 534ef05cc0
1 changed files with 3 additions and 3 deletions

View File

@ -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 <sstream>
@ -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]);
}
}