Fix most major keyboard bugs

This commit is contained in:
Pk11
2021-08-30 16:22:57 -05:00
parent 015dc67fe1
commit 11b5df4219
5 changed files with 59 additions and 50 deletions
-4
View File
@@ -113,11 +113,7 @@ bool Gui::reinit(const std::vector<std::string> &FontPaths) {
}
void Gui::DrawStringCentered(int x, int y, float size, u8 color, const std::string &Text, int maxWidth, int maxHeight, Font *fnt, int flags) {
#ifdef UNIVCORE_3DS_SIZE
Gui::DrawString(x, y, size, color, Text, maxWidth, maxHeight, fnt, flags | C2D_AlignCenter);
#else
Gui::DrawString(x, y, size, color, Text, maxWidth, maxHeight, fnt, flags | C2D_AlignCenter);
#endif
}
void Gui::DrawString(int x, int y, float size, u8 color, const std::string &Text, int maxWidth, int maxHeight, Font *fnt, int flags) {