-bug: incorrect checking of dss version

This commit is contained in:
Tolik committed 2025-04-29 04:13:21 +10:00
1 parent da96cd34d6
commit 4b67dafbe9
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -6158,12 +6158,12 @@ NEW_CODE_START: DI
SCF
LD HL,256*DSS_MIN_VERS.vers + DSS_MIN_VERS.modf
SBC HL,DE
JR NC,NEW_ERROR_EXIT.OLD_DSS
LD HL,DSS_MIN_VERS.build
JR C,.goodVers
LD HL,DSS_MIN_VERS.build - 1
SBC HL,BC
JR NC,NEW_ERROR_EXIT.OLD_DSS
;
LD A,GAME_NEED_MEM_PAGES
.goodVers: LD A,GAME_NEED_MEM_PAGES
CALL GET_MEM_AND_PAGES
CALL GET_BITSTREAM
JR C,NEW_ERROR_EXIT.NO_ACX