Somewhat experimental. If the SYSCONF file is not found or is invalid then generate one. For now ask the user if this should be done. The generated SYSCONF file works for me with the games I have tested, but this needs further testing. Unfortunately, most users will never use this as they will have the SYSCONF file anyway. Eventually we could perhaps remove the distributed SYSCONF, and generate it the first time dolphin is run.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7311 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-03-06 16:57:58 +00:00
parent 99e6c47497
commit a734b3f057
2 changed files with 225 additions and 13 deletions

View File

@ -180,9 +180,9 @@ public:
private:
bool LoadFromFileInternal(FILE *f);
void GenerateSysConf();
void Clear();
SSysConfHeader m_Header;
std::string m_Filename;
std::string m_FilenameDefault;
std::vector<SSysConfEntry> m_Entries;