Use only section-based ini reading.
This commit is contained in:
1 parent
7416b9cdb4
commit
f05d3f6e5d
24 files changed
+742
-661
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user