summaryrefslogtreecommitdiff
path: root/src/yuzu
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-07-21 19:22:14 -0400
committerLiam <byteslice@airmail.cc>2023-07-21 19:22:14 -0400
commit4bee333d847783582f94b5212cb7641e0936dc4c (patch)
treeb7ac3b4f1c89eafd006fcfd52f487cda60c5cf05 /src/yuzu
parentefda6cc9ec4b917ff1478f0bf3a181efec929553 (diff)
general: reduce use 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);