diff --git a/stella/src/common/mainSDL.cxx b/stella/src/common/mainSDL.cxx index 9d30da8b3..4faa7eee1 100644 --- a/stella/src/common/mainSDL.cxx +++ b/stella/src/common/mainSDL.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: mainSDL.cxx,v 1.12 2004-07-10 13:20:25 stephena Exp $ +// $Id: mainSDL.cxx,v 1.13 2004-07-21 00:15:08 stephena Exp $ //============================================================================ #include @@ -472,7 +472,6 @@ void handleEvents() { string newPropertiesFile = theConsole->settings().baseDir() + "/" + \ theConsole->properties().get("Cartridge.Name") + ".pro"; - replace(newPropertiesFile.begin(), newPropertiesFile.end(), ' ', '_'); theConsole->saveProperties(newPropertiesFile); } } diff --git a/stella/src/emucore/EventHandler.cxx b/stella/src/emucore/EventHandler.cxx index a92ece819..1289c9554 100644 --- a/stella/src/emucore/EventHandler.cxx +++ b/stella/src/emucore/EventHandler.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: EventHandler.cxx,v 1.27 2004-06-20 23:30:48 stephena Exp $ +// $Id: EventHandler.cxx,v 1.28 2004-07-21 00:15:08 stephena Exp $ //============================================================================ #include @@ -406,9 +406,6 @@ void EventHandler::takeSnapshot() else if(ssname == "md5sum") sspath = sspath + BSPF_PATH_SEPARATOR + myConsole->properties().get("Cartridge.MD5"); - // Replace all spaces in name with underscores - replace(sspath.begin(), sspath.end(), ' ', '_'); - // Check whether we want multiple snapshots created if(!myConsole->settings().getBool("sssingle")) {