Removed spindizzy hack; implemented vortex hack

This commit is contained in:
pagefault
2001-08-13 00:13:08 +00:00
parent 7bc8c14a64
commit 279c8dad7f
2 changed files with 6 additions and 12 deletions

View File

@@ -317,8 +317,8 @@ NEWSYM divres, dw 0 ; quotent of divc/divb
NEWSYM multres, dw 0 ; result of multa * multb/remainder of divc/divb NEWSYM multres, dw 0 ; result of multa * multb/remainder of divc/divb
NEWSYM latchx, dw 0 ; latched x value NEWSYM latchx, dw 0 ; latched x value
NEWSYM latchy, dw 0 ; latched y value NEWSYM latchy, dw 0 ; latched y value
NEWSYM latchxr, db 0 ; low or high byte read for x value NEWSYM latchxr, db 1 ; low or high byte read for x value
NEWSYM latchyr, db 0 ; low or high byte read for y value NEWSYM latchyr, db 1 ; low or high byte read for y value
NEWSYM frskipper, db 0 ; used to control frame skipping NEWSYM frskipper, db 0 ; used to control frame skipping
NEWSYM winl1, db 0 ; window 1 left position NEWSYM winl1, db 0 ; window 1 left position
NEWSYM winr1, db 0 ; window 1 right position NEWSYM winr1, db 0 ; window 1 right position

View File

@@ -1451,7 +1451,6 @@ NEWSYM headerhack
mov byte[ENVDisable],0 mov byte[ENVDisable],0
EXTSYM latchxr EXTSYM latchxr
EXTSYM latchyr
mov esi,[romdata] mov esi,[romdata]
add esi,07FC0h add esi,07FC0h
cmp dword[esi],'Supe' cmp dword[esi],'Supe'
@@ -1520,15 +1519,10 @@ NEWSYM headerhack
mov esi,[romdata] mov esi,[romdata]
add esi,07FC0h add esi,07FC0h
cmp dword[esi],'Spin' cmp dword[esi],'VORT'
jne .notspindizzy jne .notvortex
cmp dword[esi+4],' Diz' mov word[latchxr],0
jne .notspindizzy .notvortex
cmp dword[esi+8],'zy W'
jne .notspindizzy
mov word[latchxr],1
mov word[latchyr],1
.notspindizzy
; Lamborgini Challenge - -p 110 ; Lamborgini Challenge - -p 110
mov esi,[romdata] mov esi,[romdata]