SRAM mirroring fix to memory map, this should resolve the remaining copy protection issues with some carts

This commit is contained in:
pagefault
2003-12-21 07:56:34 +00:00
parent 0dd073cf77
commit ebb65867d4

View File

@@ -1724,7 +1724,7 @@ NEWSYM initsnes
jne .notmmx jne .notmmx
cmp dword[esi+8],'X ' cmp dword[esi+8],'X '
jne .notmmx jne .notmmx
mov byte[MMXSRAMFix],1 ; mov byte[MMXSRAMFix],1
.notmmx .notmmx
mov esi,[romdata] mov esi,[romdata]
@@ -1855,7 +1855,7 @@ NEWSYM initsnes
xor ebx,ebx xor ebx,ebx
mov bl,70h mov bl,70h
.nextsram .nextsram
mov [snesmap2+ebx*4],eax mov [snesmmap+ebx*4],eax
inc bl inc bl
cmp bl,77h cmp bl,77h
jbe .nextsram jbe .nextsram