Replace assert in UTF8 decoder to prevent unexpected reboot

This commit is contained in:
HarukiToreda
2025-11-29 22:34:45 -05:00
parent a59723030a
commit ca0e845c52

View File

@@ -124,7 +124,7 @@ uint32_t InkHUD::AppletFont::toUtf32(std::string utf8)
utf32 |= (utf8.at(3) & 0b00111111); utf32 |= (utf8.at(3) & 0b00111111);
break; break;
default: default:
assert(false); return 0;
} }
return utf32; return utf32;