mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
cellSaveData/overlays: initialize with focused entry
This commit is contained in:
parent
b3c1759853
commit
2d29a33ea8
5 changed files with 18 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
#include "stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "overlays.h"
|
||||
|
||||
namespace rsx
|
||||
|
@ -154,7 +154,7 @@ namespace rsx
|
|||
return result;
|
||||
}
|
||||
|
||||
s32 save_dialog::show(std::vector<SaveDataEntry>& save_entries, u32 op, vm::ptr<CellSaveDataListSet> listSet)
|
||||
s32 save_dialog::show(std::vector<SaveDataEntry>& save_entries, u32 focused, u32 op, vm::ptr<CellSaveDataListSet> listSet)
|
||||
{
|
||||
std::vector<u8> icon;
|
||||
std::vector<std::unique_ptr<overlay_element>> entries;
|
||||
|
@ -241,6 +241,8 @@ namespace rsx
|
|||
m_list->set_cancel_only(true);
|
||||
}
|
||||
|
||||
m_list->select_entry(focused);
|
||||
|
||||
static_cast<label*>(m_description.get())->auto_resize();
|
||||
|
||||
if (auto err = run_input_loop())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue