mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-05 00:00:09 -04:00
Use only section-based ini reading.
This commit is contained in:
@@ -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