Added better OBC1 detection
This commit is contained in:
@@ -6145,6 +6145,8 @@ NEWSYM CheckROMType
|
|||||||
and al,0F0h
|
and al,0F0h
|
||||||
cmp al,10h
|
cmp al,10h
|
||||||
je .yessfx
|
je .yessfx
|
||||||
|
cmp al,20h
|
||||||
|
je .yesobc
|
||||||
cmp al,30h
|
cmp al,30h
|
||||||
je near .yessa1
|
je near .yessa1
|
||||||
cmp al,40h
|
cmp al,40h
|
||||||
@@ -6169,6 +6171,7 @@ NEWSYM CheckROMType
|
|||||||
add esi,32704
|
add esi,32704
|
||||||
cmp dword[esi],'META'
|
cmp dword[esi],'META'
|
||||||
jne .notsfx
|
jne .notsfx
|
||||||
|
.yesobc
|
||||||
mov byte[OBCEnable],1
|
mov byte[OBCEnable],1
|
||||||
jmp .nosfx
|
jmp .nosfx
|
||||||
.notsfx
|
.notsfx
|
||||||
|
|||||||
Reference in New Issue
Block a user