From 256474bd0ea550130f8db19f70b3ba7c9e5a4dd2 Mon Sep 17 00:00:00 2001 From: daco65 Date: Thu, 6 Nov 2008 22:05:55 +0000 Subject: [PATCH] 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 --- Source/Core/Core/Src/ActionReplay.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/ActionReplay.cpp b/Source/Core/Core/Src/ActionReplay.cpp index 6a34173f6b..65c3274264 100644 --- a/Source/Core/Core/Src/ActionReplay.cpp +++ b/Source/Core/Core/Src/ActionReplay.cpp @@ -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;