diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-09 19:09:37 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-09 19:45:25 -0400 |
commit | bd8065295c4c000c341c7638d809979da26859c1 (patch) | |
tree | f186a863ebd59be02e99902b9b8a9d3c086a0043 /src/yuzu/main.h | |
parent | 6d64ecf359a1194e29ea73f4ae837182bccc74b3 (diff) |
yuzu: Move compatibility list specifics to their own source files
Lets us keep the generic portions of the compatibility list code
together, and allows us to introduce a type alias that makes it so we
don't need to type out a very long type declaration anymore, making the
immediate readability of some code better.
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r-- | src/yuzu/main.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index 089ea2445..64516a332 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -13,6 +13,7 @@ #include "common/common_types.h" #include "core/core.h" #include "ui_main.h" +#include "yuzu/compatibility_list.h" #include "yuzu/hotkeys.h" class Config; @@ -137,9 +138,7 @@ 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, - std::unordered_map<std::string, std::pair<QString, QString>>& compatibility_list); + void OnGameListNavigateToGamedbEntry(u64 program_id, CompatibilityList& compatibility_list); void OnMenuLoadFile(); void OnMenuLoadFolder(); void OnMenuInstallToNAND(); |