From ae9f0d90115638bb67f202bbc11a053fc68e7e83 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Sat, 1 Dec 2018 18:45:26 -0600 Subject: [PATCH] Small changes --- Ryujinx.HLE/FileSystem/Content/ContentManager.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Ryujinx.HLE/FileSystem/Content/ContentManager.cs b/Ryujinx.HLE/FileSystem/Content/ContentManager.cs index 4087b5462d..0b3bfe00d1 100644 --- a/Ryujinx.HLE/FileSystem/Content/ContentManager.cs +++ b/Ryujinx.HLE/FileSystem/Content/ContentManager.cs @@ -29,7 +29,7 @@ namespace Ryujinx.HLE.FileSystem.Content { "FontExtendedChineseSimplified", 0x0100000000000814 }, { "FontKorean", 0x0100000000000812 }, { "FontChineseTraditional", 0x0100000000000813 }, - { "FontNintendoExtended" , 0x0100000000000810 } + { "FontNintendoExtended", 0x0100000000000810 } }; _device = device; @@ -51,7 +51,7 @@ namespace Ryujinx.HLE.FileSystem.Content contentDirectory = LocationHelper.GetRealPath(_device.FileSystem, contentPathString); registeredDirectory = Path.Combine(contentDirectory, "registered"); } - catch (NotSupportedException nEx) + catch (NotSupportedException) { continue; } @@ -168,8 +168,7 @@ namespace Ryujinx.HLE.FileSystem.Content { if (_contentDictionary.ContainsValue(ncaId)) { - KeyValuePair<(ulong, ContentType), string> content = _contentDictionary.FirstOrDefault(x => x.Value == ncaId); - + var content = _contentDictionary.FirstOrDefault(x => x.Value == ncaId); long titleId = (long)content.Key.Item1; ContentType contentType = content.Key.Item2; StorageId storage = GetInstalledStorage(titleId, contentType, storageId);