mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
GUI: Add recent games menu (#2843)
* add recent games menu * remove invalid paths from list * push InvalidRecentAction into BootRecentAction * disable actions on boot disable clear recent on freeze recent * fix gamelist games not booting on recent list * minor fix for list disable error
This commit is contained in:
parent
0f433ea882
commit
6cb7a17814
5 changed files with 260 additions and 2 deletions
|
@ -345,6 +345,7 @@ void game_list_frame::doubleClickedSlot(const QModelIndex& index)
|
|||
{
|
||||
const std::string& path = Emu.GetGameDir() + m_game_data[i].root;
|
||||
emit RequestIconPathSet(path);
|
||||
emit RequestAddRecentGame(qstr(path), qstr("[" + m_game_data[i].serial + "] " + m_game_data[i].name));
|
||||
|
||||
Emu.Stop();
|
||||
|
||||
|
@ -438,6 +439,7 @@ void game_list_frame::Boot(int row)
|
|||
{
|
||||
const std::string& path = Emu.GetGameDir() + m_game_data[row].root;
|
||||
emit RequestIconPathSet(path);
|
||||
emit RequestAddRecentGame(qstr(path), qstr("[" + m_game_data[row].serial + "] " + m_game_data[row].name));
|
||||
|
||||
Emu.Stop();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue