mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
cellSaveData/overlays: prevent possible array out of bounds in list view
This commit is contained in:
parent
eed32cf3a4
commit
32b5b11a83
3 changed files with 24 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue