1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-04 23:40:25 +08:00

rework app, ability to load files

This commit is contained in:
Escartem
2024-07-22 12:18:25 +02:00
parent 04bfaa2211
commit 19dbfb1a67
5 changed files with 285 additions and 142 deletions

View File

@@ -108,7 +108,10 @@ class Mapper:
name_length = reader.ReadUInt8()
prefix = reader.ReadBytes(1)
prefix = prefixes[prefix]
if prefix != b"\x00":
prefix = prefixes[prefix]
else:
prefix = ""
name = raw(name_length)
name = f"{prefix}{name}"