diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 05:57:12 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 05:57:15 +0200 |
commit | 33fbcb45a7d43fc504c5382e23de12941289aee5 (patch) | |
tree | 01434b8e2153f37f74e065baf52f65a79764f3ad /src/common/string_util.cpp | |
parent | Merge pull request #691 from lioncash/guard (diff) | |
download | yuzu-33fbcb45a7d43fc504c5382e23de12941289aee5.tar yuzu-33fbcb45a7d43fc504c5382e23de12941289aee5.tar.gz yuzu-33fbcb45a7d43fc504c5382e23de12941289aee5.tar.bz2 yuzu-33fbcb45a7d43fc504c5382e23de12941289aee5.tar.lz yuzu-33fbcb45a7d43fc504c5382e23de12941289aee5.tar.xz yuzu-33fbcb45a7d43fc504c5382e23de12941289aee5.tar.zst yuzu-33fbcb45a7d43fc504c5382e23de12941289aee5.zip |
Diffstat (limited to 'src/common/string_util.cpp')
-rw-r--r-- | src/common/string_util.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp index 0027888c7..f3ad3d68a 100644 --- a/src/common/string_util.cpp +++ b/src/common/string_util.cpp @@ -34,18 +34,6 @@ std::string ToUpper(std::string str) { return str; } -// faster than sscanf -bool AsciiToHex(const char* _szValue, u32& result) { - char* endptr = nullptr; - const u32 value = strtoul(_szValue, &endptr, 16); - - if (!endptr || *endptr) - return false; - - result = value; - return true; -} - // For Debugging. Read out an u8 array. std::string ArrayToString(const u8* data, size_t size, int line_len, bool spaces) { std::ostringstream oss; |