Punchout working through a hack

This commit is contained in:
zsknight
2001-06-28 07:51:21 +00:00
parent c4adcb8eaa
commit 4b26323c1f

View File

@@ -1450,6 +1450,18 @@ NEWSYM headerhack
mov byte[hirqmode2],0 mov byte[hirqmode2],0
mov byte[ENVDisable],0 mov byte[ENVDisable],0
EXTSYM latchxr
mov esi,[romdata]
add esi,07FC0h
cmp dword[esi],'Supe'
jne .notspo
cmp dword[esi+4],'r Pu'
jne .notspo
cmp dword[esi+8],'nch-'
jne .notspo
mov word[latchxr],0
.notspo
mov esi,[romdata] mov esi,[romdata]
add esi,0FFC0h add esi,0FFC0h
cmp dword[esi],'EMER' cmp dword[esi],'EMER'