nga-python: fix a bug in the dictionary population code
FossilOrigin-Name: b1ac26066a2e64aaa7d1b929b7993844d330a244183b8a39911b97596a3380e7
This commit is contained in:
parent
8eba61405d
commit
3b15924f71
1 changed files with 2 additions and 1 deletions
|
@ -114,6 +114,7 @@ class Retro:
|
||||||
header = self.memory[2]
|
header = self.memory[2]
|
||||||
while header != 0:
|
while header != 0:
|
||||||
named = self.extract_string(header + 3)
|
named = self.extract_string(header + 3)
|
||||||
|
if not named in Dictionary:
|
||||||
Dictionary[named] = header
|
Dictionary[named] = header
|
||||||
header = self.memory[header]
|
header = self.memory[header]
|
||||||
return Dictionary
|
return Dictionary
|
||||||
|
|
Loading…
Reference in a new issue