MMX Fix Stuff

This commit is contained in:
zsknight
2001-05-11 02:03:17 +00:00
parent 91194f058b
commit 6bb55bd042
2 changed files with 23 additions and 16 deletions

View File

@@ -2026,6 +2026,29 @@ NEWSYM initsnes
mov dword[NoiseDisTemp],0
mov dword[NoiseDisTemp+4],0
mov esi,[romdata]
add esi,7FC0h
cmp dword[esi],'MEGA'
jne .notmmx
cmp dword[esi+4],'MAN '
jne .notmmx
cmp dword[esi+8],'X '
jne .notmmx
mov esi,[romdata]
cmp byte[esi+824Ah],0F0h
jne .mmxa
mov byte[esi+824Ah],080h
.mmxa
cmp byte[esi+21FC3h],0F0h
jne .mmxb
mov byte[esi+21FC3h],080h
.mmxb
cmp byte[esi+2241Bh],0F0h
jne .mmxc
mov byte[esi+2241Bh],080h
.mmxc
.notmmx
mov esi,[romdata]
add esi,7FC0h
cmp word[esi],'BS' ; 7FFFFFA