mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user