mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-13 04:36:59 +00:00
Add '--title-id' parameter and desktop shortcut creation (#889)
* Add '--title-id' launch option to launch titles by title id * Add title id column to game list * Add option to create game shortcuts Co-authored-by: Exzap <13877693+Exzap@users.noreply.github.com>
This commit is contained in:
parent
ea86c77088
commit
f1c200a016
7 changed files with 195 additions and 8 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include <wx/listctrl.h>
|
||||
#include <wx/timer.h>
|
||||
#include <wx/panel.h>
|
||||
#include <Cafe/TitleList/GameInfo.h>
|
||||
#include "util/helpers/Semaphore.h"
|
||||
|
||||
class wxTitleIdEvent : public wxCommandEvent
|
||||
|
|
@ -52,6 +53,10 @@ public:
|
|||
void ReloadGameEntries(bool cached = false);
|
||||
void DeleteCachedStrings();
|
||||
|
||||
#if BOOST_OS_LINUX || BOOST_OS_WINDOWS
|
||||
void CreateShortcut(GameInfo2& gameInfo);
|
||||
#endif
|
||||
|
||||
long FindListItemByTitleId(uint64 title_id) const;
|
||||
void OnClose(wxCloseEvent& event);
|
||||
|
||||
|
|
@ -75,8 +80,9 @@ private:
|
|||
ColumnGameTime,
|
||||
ColumnGameStarted,
|
||||
ColumnRegion,
|
||||
//ColumnFavorite,
|
||||
ColumnCounts
|
||||
ColumnTitleID,
|
||||
//ColumnFavorite,
|
||||
ColumnCounts,
|
||||
};
|
||||
|
||||
int s_last_column = ColumnName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue