cellOsk: dont send INPUT_ENTERED unless continuous

This commit is contained in:
Megamouse 2021-09-19 20:32:47 +02:00
parent 3c7ada8e83
commit 70c291753c

View File

@ -238,7 +238,7 @@ error_code cellOskDialogLoadAsync(u32 container, vm::ptr<CellOskDialogParam> dia
{
const auto osk = wptr.lock();
if (g_fxo->get<osk_info>().use_separate_windows.load())
if (g_fxo->get<osk_info>().use_separate_windows.load() && (g_fxo->get<osk_info>().osk_continuous_mode.load() != CELL_OSKDIALOG_CONTINUOUS_MODE_NONE))
{
sysutil_send_system_cmd(CELL_SYSUTIL_OSKDIALOG_INPUT_ENTERED, 0);
}