summaryrefslogtreecommitdiff
path: root/src/yuzu
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-07-21 21:22:51 -0700
committerGitHub <noreply@github.com>2023-07-21 21:22:51 -0700
commit39edd2ff82674e7fae2ac3dc679f3de92174fa3e (patch)
tree2b636c0ecf2af3c1753939298f5be6ac5b69f7f3 /src/yuzu
parentefda6cc9ec4b917ff1478f0bf3a181efec929553 (diff)
parent05bc024260bdd2a7ff2319b779bbfdc5da71c4db (diff)
Merge pull request #11129 from liamwhite/dynamic_cast
general: remove uses of dynamic_cast
Diffstat (limited to 'src/yuzu')
-rw-r--r--src/yuzu/game_list_worker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cpp
index 63326968b..5c910c9e0 100644
--- a/src/yuzu/game_list_worker.cpp
+++ b/src/yuzu/game_list_worker.cpp
@@ -235,7 +235,7 @@ GameListWorker::~GameListWorker() = default;
void GameListWorker::AddTitlesToGameList(GameListDir* parent_dir) {
using namespace FileSys;
- const auto& cache = dynamic_cast<ContentProviderUnion&>(system.GetContentProvider());
+ const auto& cache = system.GetContentProviderUnion();
auto installed_games = cache.ListEntriesFilterOrigin(std::nullopt, TitleType::Application,
ContentRecordType::Program);