now AR only shows the names of active codes instead of all available codes in the ini...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1087 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
daco65 2008-11-06 22:05:55 +00:00
parent 03d5443636
commit 256474bd0e
1 changed files with 3 additions and 2 deletions

View File

@ -98,9 +98,10 @@ void LoadActionReplayCodes(IniFile &ini)
encryptedLines.clear();
}
currentCode.name = line;
Core::DisplayMessage("AR code active: " + line, 5000);
if (line[0] == '+')
if (line[0] == '+'){
Core::DisplayMessage("AR code active: " + line, 5000);
currentCode.active = true;
}
else
currentCode.active = false;
continue;