Oops, pressed the wrong key on the last commit. I meant to say:

Tweaked the settings so they're more familiar to the user.  Specifically,
'tiadefaults' is not on by default.

Fixed issue with using "[..]" in Win32 when at the root of a drive.  In
that case, the parent is the listing of all drives.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1232 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2006-12-22 22:39:34 +00:00
parent 1e0edb95e2
commit a87433d557
1 changed files with 3 additions and 5 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: PropsSet.cxx,v 1.28 2006-12-22 22:32:49 stephena Exp $ // $Id: PropsSet.cxx,v 1.29 2006-12-22 22:39:34 stephena Exp $
//============================================================================ //============================================================================
#include <sstream> #include <sstream>
@ -119,10 +119,8 @@ void PropertiesSet::getMD5(const string& md5, Properties& properties,
// Reset TIA positioning to defaults if option is enabled // Reset TIA positioning to defaults if option is enabled
if(myOSystem->settings().getBool("tiadefaults")) if(myOSystem->settings().getBool("tiadefaults"))
{ {
#if !defined(GP2X) // Quick GP2X hack, it only wants defaults for width and height // properties.set(Display_XStart, Properties::ourDefaultProperties[Display_XStart]);
properties.set(Display_XStart, Properties::ourDefaultProperties[Display_XStart]); // properties.set(Display_YStart, Properties::ourDefaultProperties[Display_YStart]);
properties.set(Display_YStart, Properties::ourDefaultProperties[Display_YStart]);
#endif
properties.set(Display_Width, Properties::ourDefaultProperties[Display_Width]); properties.set(Display_Width, Properties::ourDefaultProperties[Display_Width]);
properties.set(Display_Height, Properties::ourDefaultProperties[Display_Height]); properties.set(Display_Height, Properties::ourDefaultProperties[Display_Height]);
} }