diff options
| author | hyperiris <hyperiris@gmail.com> | 2009-02-09 15:41:28 +0000 |
|---|---|---|
| committer | hyperiris <hyperiris@gmail.com> | 2009-02-09 15:41:28 +0000 |
| commit | 0868770d24be58a116303f0dd4557af07e61a89d (patch) | |
| tree | 46c47314993a32a2e4aa2d5d5fe9fea398034382 /Source/Core/DiscIO/Src/BannerLoader.cpp | |
| parent | e4f196767412196d29e6cb2e4179e1e15b95138a (diff) | |
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
Diffstat (limited to 'Source/Core/DiscIO/Src/BannerLoader.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/BannerLoader.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DiscIO/Src/BannerLoader.cpp b/Source/Core/DiscIO/Src/BannerLoader.cpp index 8a1931db1e..ff7d888207 100644 --- a/Source/Core/DiscIO/Src/BannerLoader.cpp +++ b/Source/Core/DiscIO/Src/BannerLoader.cpp @@ -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; |
