diff --git a/src/core/hle/service/am/frontend/applet_software_keyboard.cpp b/src/core/hle/service/am/frontend/applet_software_keyboard.cpp index fe07d72912..4c8a1fe70b 100644 --- a/src/core/hle/service/am/frontend/applet_software_keyboard.cpp +++ b/src/core/hle/service/am/frontend/applet_software_keyboard.cpp @@ -325,7 +325,7 @@ void SoftwareKeyboard::ProcessInlineKeyboardRequest() { std::memcpy(&request_command, request_data.data(), sizeof(SwkbdRequestCommand)); - switch (request_command) { + switch (SwkbdRequestCommand(u8(request_command) & 0x0f)) { case SwkbdRequestCommand::Finalize: RequestFinalize(request_data); break;