2011-09-04 01:36:14 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
2011-09-04 11:48:28 +00:00
|
|
|
#include "../USB.h"
|
2011-09-04 01:36:14 +00:00
|
|
|
|
2011-09-04 11:48:28 +00:00
|
|
|
#include "CfgHelpers.h"
|
2011-09-04 01:36:14 +00:00
|
|
|
|
2011-09-04 11:48:28 +00:00
|
|
|
void CALLBACK USBsetSettingsDir( const char* dir )
|
|
|
|
{
|
|
|
|
CfgSetSettingsDir(dir);
|
2011-09-04 01:36:14 +00:00
|
|
|
}
|
|
|
|
|
2011-09-04 11:48:28 +00:00
|
|
|
void SaveConfig()
|
|
|
|
{
|
|
|
|
CfgWriteBool(L"Interface", L"Logging", conf.Log);
|
|
|
|
}
|
2011-09-04 01:36:14 +00:00
|
|
|
|
2011-09-04 11:48:28 +00:00
|
|
|
void LoadConfig()
|
|
|
|
{
|
|
|
|
conf.Log = CfgReadBool(L"Interface", L"Logging", false);
|
2011-09-04 01:36:14 +00:00
|
|
|
}
|
|
|
|
|