Fix A2 alphabet table with extra character shifting symbols
DEFAULT_A2 had 26 chars instead of 25 due to an erroneous '<'. This shifted all symbol mappings, causing periods to render as exclamation marks and other garbled punctuation in Zork 1 output.
This commit is contained in:
parent
e1c6a92368
commit
9116777603
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class ZCharTranslator:
|
|||
DEFAULT_A0 = [ord(x) for x in "abcdefghijklmnopqrstuvwxyz"]
|
||||
DEFAULT_A1 = [ord(x) for x in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]
|
||||
# A2 also has 0x6 as special char, so they start at 0x7.
|
||||
DEFAULT_A2 = [ord(x) for x in "0123456789.,!?_#'\"/\\<-:()"]
|
||||
DEFAULT_A2 = [ord(x) for x in "0123456789.,!?_#'\"/\\-:()"]
|
||||
DEFAULT_A2_V5 = [ord(x) for x in "\n0123456789.,!?_#'\"/\\-:()"]
|
||||
|
||||
ALPHA = (DEFAULT_A0, DEFAULT_A1, DEFAULT_A2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue