mirror of
https://github.com/gligli/nulldc-360.git
synced 2025-04-02 11:11:56 -04:00
69 lines
1.8 KiB
C++
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;
|
|
}
|