From bc5f0b0e7a26654d89492dbdb64aa0ff47d0549e Mon Sep 17 00:00:00 2001 From: Lucent Date: Sat, 28 Oct 2023 00:24:20 +0200 Subject: [PATCH] fix edge case --- ROMFile.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ROMFile.cs b/ROMFile.cs index 08488b1..ecacc85 100644 --- a/ROMFile.cs +++ b/ROMFile.cs @@ -175,6 +175,8 @@ namespace SharpCreditsCrediter { romFile.WriteByte(c); } + } else { + romFile.WriteByte((byte)textToInt(' ')); } for (int i = 0; i < 38 - currentLine.Length; i++) romFile.WriteByte(0);