/**************************************************************************** * Snes9x Nintendo Wii/Gamecube Port * * Tantric 2008-2010 * * preferences.cpp * * Preferences save/load to XML file ***************************************************************************/ #include #include #include #include /**************************************************************************** * FixInvalidSettings * * Attempts to correct at least some invalid settings - the ones that * might cause crashes ***************************************************************************/ void FixInvalidSettings() { } /**************************************************************************** * DefaultSettings * * Sets all the defaults! ***************************************************************************/ void DefaultSettings () { } /**************************************************************************** * Save Preferences ***************************************************************************/ bool SavePrefs (bool silent) { return false; } /**************************************************************************** * Load Preferences from specified filepath ***************************************************************************/ bool LoadPrefsFromMethod (char * path) { bool retval = false; return retval; } /**************************************************************************** * Load Preferences * Checks sources consecutively until we find a preference file ***************************************************************************/ static bool prefLoaded = false; bool LoadPrefs() { if(prefLoaded) // already attempted loading return true; bool prefFound = false; return prefFound; }