Skip to content

Commit 68a9466

Browse files
Updated XexUtils to fix the default text not working in Xam::ShowKeyboard
1 parent d0df209 commit 68a9466

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Hayzen/src/Games/Common/SpecOpsFunctions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static DWORD ChangeJumpHeightThread(Menu *pMenu)
2727
{
2828
// Get the value from the user via the virtual keyboard
2929
std::string strValue;
30-
DWORD dwResult = Xam::ShowKeyboard("Jump Height", "Max value: 999\nDefault value: 39", "39", strValue, 3, VKBD_LATIN_NUMERIC);
30+
DWORD dwResult = Xam::ShowKeyboard(L"Jump Height", L"Max value: 999\nDefault value: 39", L"39", strValue, 3, VKBD_LATIN_NUMERIC);
3131

3232
// If the user canceled the keyboard, return early
3333
if (dwResult != ERROR_SUCCESS)

Hayzen/src/Games/MW2/MenuFunctions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static DWORD KnockbackThread(Menu *pMenu)
5656
{
5757
// Get the value from the user via the virtual keyboard
5858
std::string strValue;
59-
DWORD dwResult = Xam::ShowKeyboard("Knockback", "Recommended value: 30000\nDefault value: 1000", "30000", strValue, 6, VKBD_LATIN_NUMERIC);
59+
DWORD dwResult = Xam::ShowKeyboard(L"Knockback", L"Recommended value: 30000\nDefault value: 1000", L"30000", strValue, 6, VKBD_LATIN_NUMERIC);
6060

6161
// If the user canceled the keyboard, return early
6262
if (dwResult != ERROR_SUCCESS)

XexUtils

0 commit comments

Comments
 (0)