Revert "changed saved game properties (Control + s) path to defaultSaveDir()"

This reverts commit ae0a3c1ba5.

According to documentation, the contents should overwrite stella.pro.
This commit is contained in:
thrust26 2017-11-25 12:36:11 +01:00
parent df0a3720db
commit cc55724d49
1 changed files with 1 additions and 2 deletions

View File

@ -559,10 +559,9 @@ void EventHandler::handleKeyEvent(StellaKey key, StellaMod mod, bool state)
case KBDK_S: // Ctrl-s saves properties to a file
{
string filename = myOSystem.defaultSaveDir() +
string filename = myOSystem.baseDir() +
myOSystem.console().properties().get(Cartridge_Name) + ".pro";
ofstream out(filename);
if(out)
{
out << myOSystem.console().properties();