diff --git a/Ryujinx.Profiler/DumpProfile.cs b/Ryujinx.Profiler/DumpProfile.cs index ad66f421b5..62a027615d 100644 --- a/Ryujinx.Profiler/DumpProfile.cs +++ b/Ryujinx.Profiler/DumpProfile.cs @@ -1,5 +1,6 @@ using Ryujinx.Common; using System; +using System.Collections.Generic; using System.IO; using System.Linq; @@ -11,7 +12,7 @@ namespace Ryujinx.Profiler { String fileData = "Category,Session Group,Session Item,Count,Average(ms),Total(ms)\r\n"; - foreach (var time in profile.Timers.OrderBy(key => key.Key.Tag)) + foreach (KeyValuePair time in profile.Timers.OrderBy(key => key.Key.Tag)) { fileData += $"{time.Key.Category}," + $"{time.Key.SessionGroup}," +