Random fixes and cleanups

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5297 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
NeoBrainX
2010-04-08 16:59:35 +00:00
parent b452bf7051
commit f727139ebf
22 changed files with 555 additions and 573 deletions

View File

@ -35,8 +35,6 @@ int total;
const char *filter = "0123456789ABCDEFGHJKMNPQRTUVWXYZILOS";
u32 genseeds[0x20];
//u8 globalvar=0;
//u8 globalvar2=0;
const u8 bitstringlen[0x08] = {
@ -408,9 +406,7 @@ bool batchdecrypt(u32 *codes, u16 size)
int GetVal(const char *flt, char chr)
{
int ret;
ret = (int)(strchr(flt,chr) - flt);
int ret = (int)(strchr(flt,chr) - flt);
switch (ret)
{
case 32: // 'I'
@ -424,7 +420,6 @@ int GetVal(const char *flt, char chr)
ret = 5;
break;
}
return ret;
}
@ -516,4 +511,5 @@ void DecryptARCode(std::vector<std::string> vCodes, std::vector<AREntry> &ops)
}
}
}
} //namespace ActionReplay