cellSaveData/overlays: prevent possible array out of bounds in list view

This commit is contained in:
Megamouse 2019-08-25 08:06:56 +02:00
parent eed32cf3a4
commit 32b5b11a83
3 changed files with 24 additions and 3 deletions

View file

@ -240,8 +240,11 @@ namespace rsx
m_no_saves = true;
m_list->set_cancel_only(true);
}
m_list->select_entry(focused);
else
{
// Only select an entry if there are entries available
m_list->select_entry(focused);
}
static_cast<label*>(m_description.get())->auto_resize();