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:
1 parent
f41686e926
commit
368cce2ec2
6 files changed
+25
-14
No files matched your search
@@ -23,23 +23,25 @@
|
||||
#include "PluginManager.h"
|
||||
#include "FileUtil.h"
|
||||
|
||||
SConfig SConfig::m_Instance;
|
||||
|
||||
SConfig* SConfig::m_Instance;
|
||||
|
||||
SConfig::SConfig()
|
||||
{
|
||||
// Make sure we have log manager
|
||||
LoadSettings();
|
||||
//Make sure we load settings
|
||||
LoadSettingsHLE();
|
||||
}
|
||||
|
||||
void SConfig::Init()
|
||||
{
|
||||
// Make sure we have log manager
|
||||
m_Instance.LoadSettings();
|
||||
//Make sure we load settings
|
||||
m_Instance.LoadSettingsHLE();
|
||||
m_Instance = new SConfig;
|
||||
}
|
||||
|
||||
void SConfig::Shutdown()
|
||||
{
|
||||
delete m_Instance;
|
||||
m_Instance = NULL;
|
||||
}
|
||||
|
||||
SConfig::~SConfig()
|
||||
|
||||
Reference in new issue
Block a user