diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/game_list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index b52a50915..c5643c348 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp | |||
| @@ -373,7 +373,7 @@ void GameList::LoadCompatibilityList() { | |||
| 373 | QJsonDocument json = QJsonDocument::fromJson(string_content.toUtf8()); | 373 | QJsonDocument json = QJsonDocument::fromJson(string_content.toUtf8()); |
| 374 | QJsonArray arr = json.array(); | 374 | QJsonArray arr = json.array(); |
| 375 | 375 | ||
| 376 | for (const QJsonValueRef& value : arr) { | 376 | for (const QJsonValueRef value : arr) { |
| 377 | QJsonObject game = value.toObject(); | 377 | QJsonObject game = value.toObject(); |
| 378 | 378 | ||
| 379 | if (game.contains("compatibility") && game["compatibility"].isDouble()) { | 379 | if (game.contains("compatibility") && game["compatibility"].isDouble()) { |
| @@ -381,7 +381,7 @@ void GameList::LoadCompatibilityList() { | |||
| 381 | QString directory = game["directory"].toString(); | 381 | QString directory = game["directory"].toString(); |
| 382 | QJsonArray ids = game["releases"].toArray(); | 382 | QJsonArray ids = game["releases"].toArray(); |
| 383 | 383 | ||
| 384 | for (const QJsonValueRef& id_ref : ids) { | 384 | for (const QJsonValueRef id_ref : ids) { |
| 385 | QJsonObject id_object = id_ref.toObject(); | 385 | QJsonObject id_object = id_ref.toObject(); |
| 386 | QString id = id_object["id"].toString(); | 386 | QString id = id_object["id"].toString(); |
| 387 | compatibility_list.emplace( | 387 | compatibility_list.emplace( |