HDMA fix for Young Merlin and other games

This commit is contained in:
pagefault
2003-07-06 19:10:07 +00:00
parent 9ab6018821
commit 6dea8d5dc2

View File

@@ -2274,8 +2274,15 @@ NEWSYM init65816
mov esi,[romdata] mov esi,[romdata]
mov byte[hdmaearlstart],0 mov byte[hdmaearlstart],0
add esi,07FC0h add esi,07FC0h
cmp byte[esi],'Y' cmp dword[esi],'YOSH'
jne .notyoshi
cmp dword[esi+8],'ISLA'
jne .notyoshi
.notyoshi
cmp dword[esi],'YOSS'
jne .nohdmaearlstart jne .nohdmaearlstart
cmp dword[esi+8],'ISLA'
jne .notyoshi
mov byte[hdmaearlstart],2 mov byte[hdmaearlstart],2
.nohdmaearlstart .nohdmaearlstart