mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-30 21:58:55 -07:00
Asset Packer: Fix font terminator causing freezes/crashes (#295)
* Asset Packer: Fix font terminator causing freezes/crashes * Update changelog
This commit is contained in:
@@ -119,6 +119,7 @@ def pack_font(src: pathlib.Path, dst: pathlib.Path):
|
||||
.decode("unicode_escape")
|
||||
.encode("latin_1")
|
||||
)
|
||||
font += b"\0"
|
||||
dst.with_suffix(".u8f").write_bytes(font)
|
||||
elif src.suffix == ".u8f":
|
||||
if not dst.is_file():
|
||||
|
||||
Reference in New Issue
Block a user