summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/patch_manager.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-10 23:57:25 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:07 +0200
commit8e151460265f04c7bf4a981b5f97f252a0444c27 (patch)
treedc02219effed841c9a2c20b013db9390ed3981c6 /src/core/file_sys/patch_manager.cpp
parentper_game: Remove general tab (diff)
downloadyuzu-8e151460265f04c7bf4a981b5f97f252a0444c27.tar
yuzu-8e151460265f04c7bf4a981b5f97f252a0444c27.tar.gz
yuzu-8e151460265f04c7bf4a981b5f97f252a0444c27.tar.bz2
yuzu-8e151460265f04c7bf4a981b5f97f252a0444c27.tar.lz
yuzu-8e151460265f04c7bf4a981b5f97f252a0444c27.tar.xz
yuzu-8e151460265f04c7bf4a981b5f97f252a0444c27.tar.zst
yuzu-8e151460265f04c7bf4a981b5f97f252a0444c27.zip
Diffstat (limited to 'src/core/file_sys/patch_manager.cpp')
-rw-r--r--src/core/file_sys/patch_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index d3286b352..2ba1b34a4 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/src/core/file_sys/patch_manager.cpp
@@ -626,8 +626,8 @@ PatchManager::Metadata PatchManager::ParseControlNCA(const NCA& nca) const {
auto nacp = nacp_file == nullptr ? nullptr : std::make_unique<NACP>(nacp_file);
// Get language code from settings
- const auto language_code =
- Service::Set::GetLanguageCodeFromIndex(Settings::values.language_index.GetValue());
+ const auto language_code = Service::Set::GetLanguageCodeFromIndex(
+ static_cast<u32>(Settings::values.language_index.GetValue()));
// Convert to application language and get priority list
const auto application_language =