From 08243bf19cd3504e335fd4e301186062c1f744b8 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Thu, 30 Mar 2023 17:25:19 -0700 Subject: [PATCH] Remove unused PNG from project manifest --- Asm65/Formatter.cs | 9 +++++++++ SourceGen/SourceGen.csproj | 5 +---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Asm65/Formatter.cs b/Asm65/Formatter.cs index 984174b..8a0239f 100644 --- a/Asm65/Formatter.cs +++ b/Asm65/Formatter.cs @@ -1121,8 +1121,17 @@ namespace Asm65 { sb.Append(mHexDumpBuffer); } + /// + /// Formats up to 16 bytes of data and appends it to the StringBuilder. + /// + /// Reference to data. + /// Start offset. + /// Address to put at start of line. + /// Number of bytes to format. + /// StringBuilder to append the data to. public void FormatHexDump(byte[] data, int offset, int addr, int length, StringBuilder sb) { + Debug.Assert(length <= 16); FormatHexDumpCommon(data, offset, addr, length); sb.Append(mHexDumpBuffer); } diff --git a/SourceGen/SourceGen.csproj b/SourceGen/SourceGen.csproj index 16567cc..bf803b3 100644 --- a/SourceGen/SourceGen.csproj +++ b/SourceGen/SourceGen.csproj @@ -491,11 +491,8 @@ - - - - \ No newline at end of file +