diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-30 09:32:26 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-07 13:50:13 -0400 |
| commit | 4ce53ffe6a61cb853f2fdd88211f35cec63e2f70 (patch) | |
| tree | e2820ff4acde031dc0eb317a0610b478f0748321 /src/yuzu/game_list_worker.h | |
| parent | 493905665c2e9ea200301b44dcee599933f5b62c (diff) | |
game_list: Remove global instances of Core::System
Diffstat (limited to 'src/yuzu/game_list_worker.h')
| -rw-r--r-- | src/yuzu/game_list_worker.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/yuzu/game_list_worker.h b/src/yuzu/game_list_worker.h index 396bb2623..1383e9fbc 100644 --- a/src/yuzu/game_list_worker.h +++ b/src/yuzu/game_list_worker.h @@ -19,6 +19,10 @@ #include "common/common_types.h" #include "yuzu/compatibility_list.h" +namespace Core { +class System; +} + class QStandardItem; namespace FileSys { @@ -37,7 +41,7 @@ public: explicit GameListWorker(std::shared_ptr<FileSys::VfsFilesystem> vfs, FileSys::ManualContentProvider* provider, QVector<UISettings::GameDir>& game_dirs, - const CompatibilityList& compatibility_list); + const CompatibilityList& compatibility_list, Core::System& system_); ~GameListWorker() override; /// Starts the processing of directory tree information. @@ -80,4 +84,6 @@ private: QStringList watch_list; std::atomic_bool stop_processing; + + Core::System& system; }; |
