1
1
Fork 0
forked from suyu/suyu

Merge pull request #4434 from CrazyMax/lang_unused_var

AM: GetDesiredLanguage: remove unused variable
This commit is contained in:
bunnei 2020-07-27 12:37:52 -07:00 committed by GitHub
commit f97c2cdd0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1405,7 +1405,6 @@ void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) {
// Get supported languages from NACP, if possible
// Default to 0 (all languages supported)
u32 supported_languages = 0;
FileSys::PatchManager pm{system.CurrentProcess()->GetTitleID()};
const auto res = [this] {
const auto title_id = system.CurrentProcess()->GetTitleID();