diff options
author | Berkan Diler <berkan.diler1@ingka.ikea.com> | 2022-02-13 14:50:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-13 10:50:07 -0300 |
commit | 8f353457295767edaaf9dfccb4d938bc1befeb40 (patch) | |
tree | d263a7bdb9aca026105b0681d3d5ec4849cf8a2e /Ryujinx.HLE/FileSystem/Content/ContentManager.cs | |
parent | ce71f9144e1575c432bb009755f01466cd685fbf (diff) |
Use Enum and Delegate.CreateDelegate generic overloads (#3111)1.1.27
* Use Enum generic overloads
* Remove EnumExtensions.cs
* Use Delegate.CreateDelegate generic overloads
Diffstat (limited to 'Ryujinx.HLE/FileSystem/Content/ContentManager.cs')
-rw-r--r-- | Ryujinx.HLE/FileSystem/Content/ContentManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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; |