Some fixes and improvements

This commit is contained in:
GabsPuNs
2026-04-27 16:05:07 -04:00
parent 3aad8decb0
commit 3d10df97cf
20 changed files with 84 additions and 49 deletions

View File

@@ -193,12 +193,10 @@ void UIScene_DebugSetCamera::handleCheckboxToggled(F64 controlId, bool selected)
int UIScene_DebugSetCamera::KeyboardCompleteCallback(LPVOID lpParam,bool bRes)
{
UIScene_DebugSetCamera *pClass=static_cast<UIScene_DebugSetCamera *>(lpParam);
uint16_t pchText[2048];
ZeroMemory(pchText, 2048 * sizeof(uint16_t));
uint16_t pchText[2048] = {};
#ifdef _WINDOWS64
Win64_GetKeyboardText(pchText, 2048);
#else
>>>>>>> origin/main
InputManager.GetText(pchText);
#endif