From a73a600343173cadf3cb957e2a5be4a3207bd735 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 4 Feb 2014 19:30:46 -0500 Subject: [PATCH] Fix name conventions of some of the foreach loop variables. --- Source/Core/Core/GeckoCode.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Core/Core/GeckoCode.cpp b/Source/Core/Core/GeckoCode.cpp index e27afd6b9f..92c6fd4bd9 100644 --- a/Source/Core/Core/GeckoCode.cpp +++ b/Source/Core/Core/GeckoCode.cpp @@ -55,13 +55,13 @@ void SetActiveCodes(const std::vector& gcodes) active_codes.clear(); // add enabled codes - for (const GeckoCode& geckoCode : gcodes) + for (const GeckoCode& gecko_code : gcodes) { - if (geckoCode.enabled) + if (gecko_code.enabled) { // TODO: apply modifiers // TODO: don't need description or creator string, just takin up memory - active_codes.push_back(geckoCode); + active_codes.push_back(gecko_code); } } @@ -97,11 +97,11 @@ bool InstallCodeHandler() int i = 0; - for (GeckoCode& activeCode : active_codes) + for (GeckoCode& active_code : active_codes) { - if (activeCode.enabled) + if (active_code.enabled) { - for (GeckoCode::Code& code : activeCode.codes) + for (GeckoCode::Code& code : active_code.codes) { // Make sure we have enough memory to hold the code list if ((codelist_location + 24 + i) < 0x80003000)