mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Add the ability to set UseRE0 hack in game.ini.
Tho at the moment there is a bug with changing it in the GUI when ever you change it it automatically resets to nothing. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3193 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
#include "Globals.h"
|
||||
#include "Common.h"
|
||||
#include "IniFile.h"
|
||||
#include "Config.h"
|
||||
@ -49,3 +50,13 @@ void CConfig::Save()
|
||||
|
||||
file.Save(FULL_CONFIG_DIR "DSP.ini");
|
||||
}
|
||||
|
||||
void CConfig::GameIniLoad() {
|
||||
IniFile *iniFile = ((struct SConfig *)globals->config)->m_LocalCoreStartupParameter.gameIni;
|
||||
if (! iniFile)
|
||||
return;
|
||||
|
||||
if (iniFile->Exists("HLEaudio", "UseRE0Fix"))
|
||||
iniFile->Get("HLEaudio", "UseRE0Fix", &m_EnableRE0Fix, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user