Add Context Menu Options to Open Application and Update Location (#3411)

* Add Context Menu Options to Open Application and Update Location

* address jroweboy's feedback

move enum definition to game list header
declare sdmc_dir in SAVE_DATA case
fix log formatting

* Address Merry's feedback

remove redundant line
format program ID as 16 digit hex in log|
change case of open_target to look better in title bar
add whitespace for readability
This commit is contained in:
BreadFish64 2018-02-02 14:18:19 -06:00 committed by bunnei
parent 40b9e55e60
commit d3a0375f47
4 changed files with 55 additions and 10 deletions

View file

@ -16,6 +16,7 @@ class AboutDialog;
class Config;
class EmuThread;
class GameList;
enum class GameListOpenTarget;
class GImageInfo;
class GPUCommandListWidget;
class GPUCommandStreamWidget;
@ -130,7 +131,7 @@ private slots:
void OnMenuReportCompatibility();
/// Called whenever a user selects a game in the game list widget.
void OnGameListLoadFile(QString game_path);
void OnGameListOpenSaveFolder(u64 program_id);
void OnGameListOpenFolder(u64 program_id, GameListOpenTarget target);
void OnMenuLoadFile();
void OnMenuInstallCIA();
void OnUpdateProgress(size_t written, size_t total);