HipcGenerator: make generated GetCommandHandlers() method return a FrozenDictionary<int, CommandHandler>
This commit is contained in:
parent
8b9098262a
commit
e27f3c7e79
1 changed files with 2 additions and 1 deletions
|
@ -74,6 +74,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
|
|||
generator.AppendLine("using Ryujinx.Horizon.Sdk.Sf.Cmif;");
|
||||
generator.AppendLine("using Ryujinx.Horizon.Sdk.Sf.Hipc;");
|
||||
generator.AppendLine("using System;");
|
||||
generator.AppendLine("using System.Collections.Frozen;");
|
||||
generator.AppendLine("using System.Collections.Generic;");
|
||||
generator.AppendLine("using System.Runtime.CompilerServices;");
|
||||
generator.AppendLine("using System.Runtime.InteropServices;");
|
||||
|
@ -171,7 +172,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
|
|||
}
|
||||
}
|
||||
|
||||
generator.LeaveScope(";");
|
||||
generator.LeaveScope(".ToFrozenDictionary();");
|
||||
generator.LeaveScope();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue