mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 03:08:36 +12:00
Savestates: Implement Ctrl+R to reload the most recent savestate
Ctrl+R no longer means Resume emulation, this functionality has been transferred to Ctrl+P which is also capable of pausing the emulation. (so it's now a toggle)
This commit is contained in:
parent
1f5cf776b2
commit
0bfdfd8433
8 changed files with 247 additions and 129 deletions
|
@ -971,7 +971,9 @@ void game_list_frame::ShowContextMenu(const QPoint &pos)
|
|||
});
|
||||
}
|
||||
|
||||
if (const std::string sstate = fs::get_cache_dir() + "/savestates/" + current_game.serial + ".SAVESTAT"; fs::is_file(sstate))
|
||||
extern bool is_savestate_compatible(const fs::file& file);
|
||||
|
||||
if (const std::string sstate = fs::get_cache_dir() + "/savestates/" + current_game.serial + ".SAVESTAT"; is_savestate_compatible(fs::file(sstate)))
|
||||
{
|
||||
QAction* boot_state = menu.addAction(is_current_running_game
|
||||
? tr("&Reboot with savestate")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue