mirror of https://github.com/stella-emu/stella.git
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:
parent
df0a3720db
commit
cc55724d49
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue