Use only section-based ini reading.

This commit is contained in:
Lioncash committed 2014-06-16 01:31:23 -04:00
1 parent 7416b9cdb4
commit f05d3f6e5d
24 files changed
+742 -661

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ static void LoadSpeedhacks(const std::string& section, IniFile& ini)
for (const std::string& key : keys)
{
std::string value;
ini.Get(section, key, &value, "BOGUS");
ini.GetOrCreateSection(section)->Get(key, &value, "BOGUS");
if (value != "BOGUS")
{
u32 address;