mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
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:
parent
f41686e926
commit
368cce2ec2
6 changed files with 25 additions and 14 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue