nulldc-360/gui/preferences.cpp
2012-09-07 23:03:37 +02:00

69 lines
1.8 KiB
C++

/****************************************************************************
* Snes9x Nintendo Wii/Gamecube Port
*
* Tantric 2008-2010
*
* preferences.cpp
*
* Preferences save/load to XML file
***************************************************************************/
#include <xetypes.h>
#include <stdio.h>
#include <string.h>
#include <dirent.h>
/****************************************************************************
* 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;
}