diff options
| author | omegadox <omegadox@gmail.com> | 2009-03-28 08:57:34 +0000 |
|---|---|---|
| committer | omegadox <omegadox@gmail.com> | 2009-03-28 08:57:34 +0000 |
| commit | eb0cab140f4aa4e17cb60e39e7467a36d6bfa97d (patch) | |
| tree | f725c5354346506a0491211b87e1d59cb62b7fdc /Source/Core/Common/Src/StringUtil.cpp | |
| parent | bdabcd4bf5a460eaed21571b17ecd48b8f8c01aa (diff) | |
Some code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2768 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/StringUtil.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp index 483a704aee..4de1fa71cc 100644 --- a/Source/Core/Common/Src/StringUtil.cpp +++ b/Source/Core/Common/Src/StringUtil.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2003-2008 Dolphin Project. +// Copyright (C) 2003-2009 Dolphin Project. // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -66,10 +66,7 @@ bool AsciiToHex(const char* _szValue, u32& result) return (true); } - -////////////////////////////////////////////////////////////////////////////////////////// // Convert AB to it's ascii table entry numbers 0x4142 -// ŻŻŻŻŻŻŻŻŻŻŻŻŻ u32 Ascii2Hex(std::string _Text) { // Reset the return value zero @@ -100,8 +97,6 @@ std::string Hex2Ascii(u32 _Text) std::string StrResult = Result; return StrResult; } -/////////////////////////// - bool CharArrayFromFormatV(char* out, int outsize, const char* format, va_list args) { @@ -119,7 +114,6 @@ bool CharArrayFromFormatV(char* out, int outsize, const char* format, va_list ar } } - // Expensive! void ToStringFromFormat(std::string* out, const char* format, ...) { @@ -183,9 +177,7 @@ std::string StringFromFormat(const char* format, ...) } -// =================================================== -/* For Debugging. Read out an u8 array. */ -// ---------------- +// For Debugging. Read out an u8 array. std::string ArrayToString(const u8 *data, u32 size, u32 offset, int line_len, bool Spaces) { std::string Tmp, Spc; @@ -197,8 +189,6 @@ std::string ArrayToString(const u8 *data, u32 size, u32 offset, int line_len, bo } return Tmp; } -// ================ - // Turns " hej " into "hej". Also handles tabs. std::string StripSpaces(const std::string &str) @@ -459,5 +449,3 @@ std::string ThS(int Integer, bool Unsigned) } return sbuf; } - - |
