Write Dalamud.Boot log to TEMP, then CWD (#886)

This commit is contained in:
kizer 2022-06-19 18:42:41 +09:00 committed by GitHub
parent cd41fda202
commit ce49874935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 22375 additions and 98 deletions

View file

@ -231,3 +231,15 @@ size_t unicode::encode(EncodingTag<char>, char* ptr, char32_t c, bool strict) {
size_t unicode::encode(EncodingTag<wchar_t>, wchar_t* ptr, char32_t c, bool strict) {
return encode(EncodingTag<char16_t>(), reinterpret_cast<char16_t*>(ptr), c, strict);
}
char32_t unicode::lower(char32_t in) {
if ('A' <= in && in <= 'Z')
return in - 'A' + 'a';
return in;
}
char32_t unicode::upper(char32_t in) {
if ('a' <= in && in <= 'z')
return in - 'a' + 'A';
return in;
}