mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #2508 from comex/fix-gecko-codes
Fix bug where Gecko codes would be "enabled by default"
This commit is contained in:
commit
00cbc7c7c7
@ -262,11 +262,12 @@ bool IniFile::GetKeys(const std::string& sectionName, std::vector<std::string>*
|
|||||||
// Return a list of all lines in a section
|
// Return a list of all lines in a section
|
||||||
bool IniFile::GetLines(const std::string& sectionName, std::vector<std::string>* lines, const bool remove_comments) const
|
bool IniFile::GetLines(const std::string& sectionName, std::vector<std::string>* lines, const bool remove_comments) const
|
||||||
{
|
{
|
||||||
|
lines->clear();
|
||||||
|
|
||||||
const Section* section = GetSection(sectionName);
|
const Section* section = GetSection(sectionName);
|
||||||
if (!section)
|
if (!section)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
lines->clear();
|
|
||||||
for (std::string line : section->lines)
|
for (std::string line : section->lines)
|
||||||
{
|
{
|
||||||
line = StripSpaces(line);
|
line = StripSpaces(line);
|
||||||
|
Loading…
Reference in New Issue
Block a user