From ac57dd5d75bd59b73471685c1f76c61f5ad5eae8 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 27 Dec 2021 18:10:49 -0300 Subject: [PATCH] Fix wrong title language (#2933) * Fix wrong title language * Sort --- Ryujinx/Ui/App/ApplicationLibrary.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Ryujinx/Ui/App/ApplicationLibrary.cs b/Ryujinx/Ui/App/ApplicationLibrary.cs index 00c09cac..e96f336d 100644 --- a/Ryujinx/Ui/App/ApplicationLibrary.cs +++ b/Ryujinx/Ui/App/ApplicationLibrary.cs @@ -10,6 +10,7 @@ using Ryujinx.Common.Logging; using Ryujinx.Configuration.System; using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.HOS; +using Ryujinx.HLE.HOS.SystemState; using Ryujinx.HLE.Loaders.Npdm; using System; using System.Collections.Generic; @@ -125,7 +126,7 @@ namespace Ryujinx.Ui.App foreach (string appDir in appDirs) { - + if (!Directory.Exists(appDir)) { Logger.Warning?.Print(LogClass.Application, $"The \"game_dirs\" section in \"Config.json\" contains an invalid directory: \"{appDir}\""); @@ -552,7 +553,7 @@ namespace Ryujinx.Ui.App private void GetNameIdDeveloper(ref ApplicationControlProperty controlData, out string titleName, out string titleId, out string publisher) { - _ = Enum.TryParse(_desiredTitleLanguage.ToString(), out LibHac.Settings.Language desiredTitleLanguage); + _ = Enum.TryParse(_desiredTitleLanguage.ToString(), out TitleLanguage desiredTitleLanguage); if (controlData.Titles.Length > (int)desiredTitleLanguage) {