Use concrete types when possible for improved performance

This commit is contained in:
Marco Carvalho
2025-01-05 11:54:53 -03:00
parent 850df38f1e
commit c80c397967
45 changed files with 150 additions and 171 deletions

View File

@@ -5,7 +5,7 @@ namespace Ryujinx.Horizon.Common
static class ResultNames
{
// Reference: https://github.com/Thealexbarney/LibHac/blob/master/build/CodeGen/results.csv
private static readonly IReadOnlyDictionary<int, string> _names = new Dictionary<int, string>()
private static readonly Dictionary<int, string> _names = new Dictionary<int, string>()
{
{ 0x0, "Success" },
{ 0xE01, "OutOfSessions" },