mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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