Fixed hirom/lorom detection, less hacky; should be fixed for good this time
This commit is contained in:
@@ -5507,8 +5507,8 @@ NEWSYM CheckROMType
|
|||||||
|
|
||||||
mov esi,[romdata]
|
mov esi,[romdata]
|
||||||
add esi,7FECh
|
add esi,7FECh
|
||||||
cmp word[esi],8000h
|
; cmp word[esi],8000h
|
||||||
jb .checkhirom
|
; jb .checkhirom
|
||||||
mov esi,[romdata]
|
mov esi,[romdata]
|
||||||
add esi,32704+23
|
add esi,32704+23
|
||||||
cmp byte[esi],32
|
cmp byte[esi],32
|
||||||
@@ -5541,7 +5541,7 @@ NEWSYM CheckROMType
|
|||||||
cmp bx,0FFFFh
|
cmp bx,0FFFFh
|
||||||
jne .cantcheck
|
jne .cantcheck
|
||||||
mov byte[romtype],2
|
mov byte[romtype],2
|
||||||
jmp .checkhiromletter
|
jmp .donecheck
|
||||||
.cantcheck
|
.cantcheck
|
||||||
; check for a header with mostly letters or spaces
|
; check for a header with mostly letters or spaces
|
||||||
mov esi,[romdata]
|
mov esi,[romdata]
|
||||||
|
|||||||
Reference in New Issue
Block a user