diff --git a/src/unix/r77/SettingsR77.cxx b/src/unix/r77/SettingsR77.cxx index b8e65d939..1a53ced7d 100644 --- a/src/unix/r77/SettingsR77.cxx +++ b/src/unix/r77/SettingsR77.cxx @@ -72,30 +72,3 @@ SettingsR77::SettingsR77() setPermanent("tv.phosblend", "45"); // level 6 setPermanent("tv.scanlines", "18"); // level 3 } - -// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -bool SettingsR77::saveConfigFile(const string& cfgfile) const -{ - // Almost no settings can be changed, so we completely disable saving - // most of them. This may also fix reported issues of the config file - // becoming corrupt. - // - // There are currently only a few settings that can be changed - // These will be expanded as more support is added - - ofstream out(cfgfile); - if(!out || !out.is_open()) - return false; - - out << "fullscreen = " << getString("fullscreen") << endl; - out << "lastrom = " << getString("lastrom") << endl; - out << "tia.fs_stretch = " << getString("tia.fs_stretch") << endl; -// out << "keymap = " << getString("keymap") << endl; -// out << "joymap = " << getString("joymap") << endl; - - out.flush(); - out.close(); - system("/bin/fsync /mnt/stella/stellarc&"); - - return true; -} diff --git a/src/unix/r77/SettingsR77.hxx b/src/unix/r77/SettingsR77.hxx index d1d5d513e..4c5746b0d 100644 --- a/src/unix/r77/SettingsR77.hxx +++ b/src/unix/r77/SettingsR77.hxx @@ -35,9 +35,6 @@ class SettingsR77 : public Settings explicit SettingsR77(); virtual ~SettingsR77() = default; - protected: - bool saveConfigFile(const string& cfgfile) const; - private: // Following constructors and assignment operators not supported SettingsR77(const SettingsR77&) = delete;