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");
|
||||
|
@ -710,4 +710,4 @@ public sealed class ResultMap : ClassMap<ResultInfo>
|
|||
return flags;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
|
||||
namespace LibHac;
|
||||
namespace LibHac.Common;
|
||||
|
||||
internal partial class ResultNameResolver
|
||||
{
|
||||
|
@ -11,4 +11,4 @@ internal partial class ResultNameResolver
|
|||
// The script can be run with the "codegen" option to run only the
|
||||
// code generation portion of the build.
|
||||
};
|
||||
}
|
||||
}
|
|
@ -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
|
||||
{
|
||||
|
@ -96,4 +95,4 @@ internal partial class ResultNameResolver : Result.IResultNameResolver
|
|||
}
|
||||
#pragma warning restore 649
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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