summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-10 01:35:05 +0200
committerLioncash <mathew1800@gmail.com>2018-09-10 01:46:07 +0200
commit73a2d71f449020dbf4e0cc165de8b1b157bc927c (patch)
tree6d424fc92478ab2a89933ed7f026b66759fd7752
parentyuzu: Move compatibility list specifics to their own source files (diff)
downloadyuzu-73a2d71f449020dbf4e0cc165de8b1b157bc927c.tar
yuzu-73a2d71f449020dbf4e0cc165de8b1b157bc927c.tar.gz
yuzu-73a2d71f449020dbf4e0cc165de8b1b157bc927c.tar.bz2
yuzu-73a2d71f449020dbf4e0cc165de8b1b157bc927c.tar.lz
yuzu-73a2d71f449020dbf4e0cc165de8b1b157bc927c.tar.xz
yuzu-73a2d71f449020dbf4e0cc165de8b1b157bc927c.tar.zst
yuzu-73a2d71f449020dbf4e0cc165de8b1b157bc927c.zip
-rw-r--r--src/yuzu/game_list.h3
-rw-r--r--src/yuzu/main.cpp2
-rw-r--r--src/yuzu/main.h3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h
index e01b44c20..2713e7b54 100644
--- a/src/yuzu/game_list.h
+++ b/src/yuzu/game_list.h
@@ -89,7 +89,8 @@ signals:
void GameChosen(QString game_path);
void ShouldCancelWorker();
void OpenFolderRequested(u64 program_id, GameListOpenTarget target);
- void NavigateToGamedbEntryRequested(u64 program_id, CompatibilityList& compatibility_list);
+ void NavigateToGamedbEntryRequested(u64 program_id,
+ const CompatibilityList& compatibility_list);
private slots:
void onTextChanged(const QString& newText);
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 366169eef..e36914f14 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -727,7 +727,7 @@ void GMainWindow::OnGameListOpenFolder(u64 program_id, GameListOpenTarget target
}
void GMainWindow::OnGameListNavigateToGamedbEntry(u64 program_id,
- CompatibilityList& compatibility_list) {
+ const CompatibilityList& compatibility_list) {
const auto it = FindMatchingCompatibilityEntry(compatibility_list, program_id);
QString directory;
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index 64516a332..552e3e61c 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -138,7 +138,8 @@ private slots:
/// Called whenever a user selects a game in the game list widget.
void OnGameListLoadFile(QString game_path);
void OnGameListOpenFolder(u64 program_id, GameListOpenTarget target);
- void OnGameListNavigateToGamedbEntry(u64 program_id, CompatibilityList& compatibility_list);
+ void OnGameListNavigateToGamedbEntry(u64 program_id,
+ const CompatibilityList& compatibility_list);
void OnMenuLoadFile();
void OnMenuLoadFolder();
void OnMenuInstallToNAND();