Some fixes in C4 code.

This commit is contained in:
n-a-c-h
2003-06-19 01:44:08 +00:00
parent 168ab0998b
commit 1f7fc49bf6

View File

@@ -2532,7 +2532,8 @@ NEWSYM C4WriteReg
movzx ecx,word[esi+1F43h] ;Num of bytes to copy movzx ecx,word[esi+1F43h] ;Num of bytes to copy
movzx eax,byte[esi+1F42h] ;Source bank movzx eax,byte[esi+1F42h] ;Source bank
mov eax,[snesmmap+eax*4] mov eax,[snesmmap+eax*4]
add eax,word[esi+1F40h] movzx edx,word[esi+1F40h]
add eax,edx
movzx edx,word[esi+1F45h] ;Destination movzx edx,word[esi+1F45h] ;Destination
mov ebx,[C4Ram] mov ebx,[C4Ram]
and edx,01FFFh and edx,01FFFh