fix edge case

This commit is contained in:
Lucent 2023-10-28 00:24:20 +02:00
parent 92ff4d3f28
commit bc5f0b0e7a

View file

@ -175,6 +175,8 @@ namespace SharpCreditsCrediter
{ {
romFile.WriteByte(c); romFile.WriteByte(c);
} }
} else {
romFile.WriteByte((byte)textToInt(' '));
} }
for (int i = 0; i < 38 - currentLine.Length; i++) romFile.WriteByte(0); for (int i = 0; i < 38 - currentLine.Length; i++) romFile.WriteByte(0);