From 3ed6cc2ba8c738a72ac6413cc0ba7095626a34d3 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 29 Nov 2024 13:17:07 +1000 Subject: [PATCH] GameList: Fix crash loading custom language options --- src/core/game_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/game_list.cpp b/src/core/game_list.cpp index 773cd457f..bffd38f26 100644 --- a/src/core/game_list.cpp +++ b/src/core/game_list.cpp @@ -634,7 +634,7 @@ void GameList::ApplyCustomAttributes(const std::string& path, Entry* entry, if (custom_language_str.has_value()) { const std::optional custom_region = - GameDatabase::ParseLanguageName(custom_region_str.value()); + GameDatabase::ParseLanguageName(custom_language_str.value()); if (custom_region.has_value()) { entry->custom_language = custom_region.value();