From 8f353457295767edaaf9dfccb4d938bc1befeb40 Mon Sep 17 00:00:00 2001 From: Berkan Diler <berkan.diler1@ingka.ikea.com> Date: Sun, 13 Feb 2022 14:50:07 +0100 Subject: Use Enum and Delegate.CreateDelegate generic overloads (#3111) * Use Enum generic overloads * Remove EnumExtensions.cs * Use Delegate.CreateDelegate generic overloads --- Ryujinx.HLE/FileSystem/Content/ContentManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.HLE/FileSystem/Content/ContentManager.cs') diff --git a/Ryujinx.HLE/FileSystem/Content/ContentManager.cs b/Ryujinx.HLE/FileSystem/Content/ContentManager.cs index 9203f156..8ac31a4c 100644 --- a/Ryujinx.HLE/FileSystem/Content/ContentManager.cs +++ b/Ryujinx.HLE/FileSystem/Content/ContentManager.cs @@ -102,7 +102,7 @@ namespace Ryujinx.HLE.FileSystem.Content _contentDictionary = new SortedDictionary<(ulong, NcaContentType), string>(); _locationEntries = new Dictionary<StorageId, LinkedList<LocationEntry>>(); - foreach (StorageId storageId in Enum.GetValues(typeof(StorageId))) + foreach (StorageId storageId in Enum.GetValues<StorageId>()) { string contentDirectory = null; string contentPathString = null; -- cgit v1.2.3-70-g09d2