mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 22:27:48 +00:00
yuzu-qt: Track play time
This commit is contained in:
parent
e392005f94
commit
54a5b8062e
15 changed files with 334 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "yuzu/game_list.h"
|
||||
#include "yuzu/game_list_p.h"
|
||||
#include "yuzu/game_list_worker.h"
|
||||
#include "yuzu/play_time.h"
|
||||
#include "yuzu/uisettings.h"
|
||||
|
||||
namespace {
|
||||
|
@ -212,6 +213,7 @@ QList<QStandardItem*> MakeGameListEntry(const std::string& path, const std::stri
|
|||
new GameListItemCompat(compatibility),
|
||||
new GameListItem(file_type_string),
|
||||
new GameListItemSize(size),
|
||||
new GameListItemPlayTime(PlayTime::GetPlayTime(program_id)),
|
||||
};
|
||||
|
||||
const auto patch_versions = GetGameListCachedObject(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue