From 86eccaaca4003b173635c2b042bd5d3817c2d5c0 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Mon, 16 Jun 2025 21:36:07 -0700 Subject: [PATCH] Fixes --- LEGO1/lego/legoomni/include/legogamestate.h | 2 +- LEGO1/lego/legoomni/src/common/legogamestate.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/include/legogamestate.h b/LEGO1/lego/legoomni/include/legogamestate.h index b679d1c3..07561968 100644 --- a/LEGO1/lego/legoomni/include/legogamestate.h +++ b/LEGO1/lego/legoomni/include/legogamestate.h @@ -24,7 +24,7 @@ struct ColorStringStruct { }; struct InternationalCharacter { - char32_t m_character; + unsigned char m_character; const char* m_bitmap; MxU32 m_buttonId; }; diff --git a/LEGO1/lego/legoomni/src/common/legogamestate.cpp b/LEGO1/lego/legoomni/src/common/legogamestate.cpp index 3bf0697f..1946cbf9 100644 --- a/LEGO1/lego/legoomni/src/common/legogamestate.cpp +++ b/LEGO1/lego/legoomni/src/common/legogamestate.cpp @@ -144,7 +144,7 @@ const char* g_strEnable = "enable"; const char* g_strDisable = "disable"; const InternationalCharacter LegoGameState::g_intCharacters[4] = - {{'\xe4', "Aum_Bitmap", 29}, {'\xf6', "Oum_Bitmap", 30}, {'\xdf', "Beta_Bitmap", 31}, {'\xfc', "Uum_Bitmap", 32}}; + {{0xe4, "Aum_Bitmap", 29}, {0xf6, "Oum_Bitmap", 30}, {0xdf, "Beta_Bitmap", 31}, {0xfc, "Uum_Bitmap", 32}}; // FUNCTION: LEGO1 0x10039550 LegoGameState::LegoGameState()