Revert the SysConf change, since it was intended by shuffle.

Attempt to fix some of our singleton failures.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5085 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
j4ck.fr0st
2010-02-19 18:50:01 +00:00
parent f41686e926
commit 368cce2ec2
6 changed files with 25 additions and 14 deletions

View File

@ -38,6 +38,8 @@ SysConf::~SysConf()
if (!m_IsValid)
return;
Save();
for (size_t i = 0; i < m_Entries.size() - 1; i++)
{
delete [] m_Entries.at(i).data;
@ -169,5 +171,7 @@ bool SysConf::SaveToFile(const char *filename)
bool SysConf::Save()
{
if (!m_IsValid)
return false;
return SaveToFile(m_Filename.c_str());
}