summaryrefslogtreecommitdiff
path: root/src/yuzu/game_list.h
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-30 09:32:26 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-10-07 13:50:13 -0400
commit4ce53ffe6a61cb853f2fdd88211f35cec63e2f70 (patch)
treee2820ff4acde031dc0eb317a0610b478f0748321 /src/yuzu/game_list.h
parent493905665c2e9ea200301b44dcee599933f5b62c (diff)
game_list: Remove global instances of Core::System
Diffstat (limited to 'src/yuzu/game_list.h')
-rw-r--r--src/yuzu/game_list.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h
index 10339dcca..675469e66 100644
--- a/src/yuzu/game_list.h
+++ b/src/yuzu/game_list.h
@@ -72,7 +72,8 @@ public:
};
explicit GameList(std::shared_ptr<FileSys::VfsFilesystem> vfs,
- FileSys::ManualContentProvider* provider, GMainWindow* parent = nullptr);
+ FileSys::ManualContentProvider* provider, Core::System& system_,
+ GMainWindow* parent = nullptr);
~GameList() override;
QString GetLastFilterResultItem() const;
@@ -145,6 +146,8 @@ private:
CompatibilityList compatibility_list;
friend class GameListSearchField;
+
+ Core::System& system;
};
class GameListPlaceholder : public QWidget {