mai2: implement event reader for pre-dx games

This commit is contained in:
Kevin Trocolli committed 2023-05-05 00:24:47 -04:00
1 parent 989c080657
commit 8b9771b5af
3 files changed
+149 -12

No files matched your search

+1 -1
View File
@@ -82,5 +82,5 @@ class Mai2Constants:
@classmethod
def game_ver_to_string(cls, ver: int):
if ver >= 1000:
return cls.VERSION_STRING_OLD[ver / 1000]
return cls.VERSION_STRING_OLD[ver - 1000]
return cls.VERSION_STRING[ver]