fix again, JP please check it. don't forget clear your cache!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2177 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hyperiris
2009-02-09 15:41:28 +00:00
parent e4f1967674
commit 0868770d24
2 changed files with 28 additions and 13 deletions

View File

@ -43,20 +43,20 @@ bool IBannerLoader::CopyToStringAndCheck(std::string& _rDestination, const char*
}
// generate valid chars
for (unsigned char c = 0x20; c <= 0x80; c++)
for (int i = 0x20; i < 256; i++)
{
bValidChars[c] = true;
bValidChars[i] = true;
}
bValidChars[0x0a] = true;
bValidChars[0xa9] = true;
bValidChars[0xe9] = true;
//bValidChars[0xa9] = true;
//bValidChars[0xe9] = true;
bInitialized = true;
}
bool bResult = true;
char destBuffer[2048];
char destBuffer[2048] = {0};
char* dest = destBuffer;
const char* src = _src;