mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Move ResultNameResolver
This commit is contained in:
parent
8e5f400048
commit
f73d206901
4 changed files with 8 additions and 9 deletions
|
@ -39,7 +39,7 @@ public static class ResultCodeGen
|
|||
byte[] archive = BuildArchive(modules);
|
||||
byte[] compressedArchive = Build.DeflateBytes(archive);
|
||||
string archiveStr = PrintArchive(compressedArchive);
|
||||
WriteOutput("LibHac/ResultNameResolver.Generated.cs", archiveStr);
|
||||
WriteOutput("LibHac/Common/ResultNameResolver.Generated.cs", archiveStr);
|
||||
|
||||
string enumStr = PrintEnum(modules);
|
||||
WriteOutput("../.nuke/temp/result_enums.txt", enumStr);
|
||||
|
@ -382,7 +382,7 @@ public static class ResultCodeGen
|
|||
sb.AppendLine("using System;");
|
||||
sb.AppendLine();
|
||||
|
||||
sb.AppendLine("namespace LibHac;");
|
||||
sb.AppendLine("namespace LibHac.Common;");
|
||||
sb.AppendLine();
|
||||
|
||||
sb.AppendLine("internal partial class ResultNameResolver");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
|
||||
namespace LibHac;
|
||||
namespace LibHac.Common;
|
||||
|
||||
internal partial class ResultNameResolver
|
||||
{
|
|
@ -4,10 +4,9 @@ using System.IO;
|
|||
using System.IO.Compression;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using LibHac.Common;
|
||||
using LibHac.Util;
|
||||
|
||||
namespace LibHac;
|
||||
namespace LibHac.Common;
|
||||
|
||||
internal partial class ResultNameResolver : Result.IResultNameResolver
|
||||
{
|
|
@ -36,7 +36,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Condition="Exists('ResultNameResolver.Generated.cs')" Remove="ResultNameResolver.Archive.cs" />
|
||||
<Compile Condition="Exists('Common\ResultNameResolver.Generated.cs')" Remove="Common\ResultNameResolver.Archive.cs" />
|
||||
<Compile Condition="Exists('Common\Keys\DefaultKeySet.Generated.cs')" Remove="Common\Keys\DefaultKeySet.Empty.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
Loading…
Reference in a new issue