Fix name conventions of some of the foreach loop variables.

This commit is contained in:
Lioncash 2014-02-04 19:30:46 -05:00
parent 63700ad28a
commit a73a600343
1 changed files with 6 additions and 6 deletions

View File

@ -55,13 +55,13 @@ void SetActiveCodes(const std::vector<GeckoCode>& 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)