From 9f43b1988ba44a3704d4e9dbed21d48014694c95 Mon Sep 17 00:00:00 2001 From: majestic Date: Sun, 30 Aug 2020 13:47:12 -0700 Subject: cheats, fixes, cosmetic changes --- src/text/Text.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/text/Text.cpp') diff --git a/src/text/Text.cpp b/src/text/Text.cpp index dab1cae3..64f303eb 100644 --- a/src/text/Text.cpp +++ b/src/text/Text.cpp @@ -494,6 +494,20 @@ UnicodeToAsciiForMemoryCard(wchar *src) return aStr; } +void +UnicodeMakeUpperCase(wchar *dst, wchar *src) //idk what to do with it, seems to be incorrect implementation by R* +{ + while (*src != '\0') { + if (*src < 'a' || *src > 'z') + *dst = *src; + else + *dst = *src - 32; + dst++; + src++; + } + *dst = '\0'; +} + void UnicodeStrcpy(wchar *dst, const wchar *src) { -- cgit v1.2.3