Input: don't intercept pads after system dialogs, but still ignore input

This commit is contained in:
Megamouse 2019-09-20 10:12:01 +02:00
parent 571bb914f5
commit caef52e3b3
3 changed files with 12 additions and 10 deletions

View file

@ -137,7 +137,7 @@ error_code cellPadGetData(u32 port_no, vm::ptr<CellPadData> data)
const PadInfo& rinfo = handler->GetInfo();
if (rinfo.system_info & CELL_PAD_INFO_INTERCEPTED)
if (rinfo.ignore_input || (rinfo.system_info & CELL_PAD_INFO_INTERCEPTED))
{
data->len = CELL_PAD_LEN_NO_CHANGE;
return CELL_OK;