Fix for FFMQ
This commit is contained in:
@@ -1372,6 +1372,10 @@ COPemulmode
|
|||||||
jae .upperlower
|
jae .upperlower
|
||||||
mov [initaddrl],esi
|
mov [initaddrl],esi
|
||||||
add esi,eax
|
add esi,eax
|
||||||
|
cmp byte[esi],0CBh
|
||||||
|
jne .notwai
|
||||||
|
mov byte[intrset],2
|
||||||
|
.notwai
|
||||||
test dl,00010000b
|
test dl,00010000b
|
||||||
jnz .setx
|
jnz .setx
|
||||||
endloop
|
endloop
|
||||||
@@ -1384,6 +1388,10 @@ COPemulmode
|
|||||||
je .dma
|
je .dma
|
||||||
mov [initaddrl],esi
|
mov [initaddrl],esi
|
||||||
add esi,eax
|
add esi,eax
|
||||||
|
cmp byte[esi],0CBh
|
||||||
|
jne .notwai2
|
||||||
|
mov byte[intrset],2
|
||||||
|
.notwai2
|
||||||
test dl,00010000b
|
test dl,00010000b
|
||||||
jnz .setx
|
jnz .setx
|
||||||
endloop
|
endloop
|
||||||
|
|||||||
@@ -1363,6 +1363,10 @@ COPemulmode
|
|||||||
mov esi,[snesmmap+ebx*4]
|
mov esi,[snesmmap+ebx*4]
|
||||||
mov [initaddrl],esi
|
mov [initaddrl],esi
|
||||||
add esi,eax
|
add esi,eax
|
||||||
|
cmp byte[esi],0CBh
|
||||||
|
jne .notwai
|
||||||
|
mov byte[intrset],2
|
||||||
|
.notwai
|
||||||
test dl,00010000b
|
test dl,00010000b
|
||||||
jnz .setx
|
jnz .setx
|
||||||
endloop
|
endloop
|
||||||
@@ -1372,6 +1376,10 @@ COPemulmode
|
|||||||
jae .upperlower
|
jae .upperlower
|
||||||
mov [initaddrl],esi
|
mov [initaddrl],esi
|
||||||
add esi,eax
|
add esi,eax
|
||||||
|
cmp byte[esi],0CBh
|
||||||
|
jne .notwai2
|
||||||
|
mov byte[intrset],2
|
||||||
|
.notwai2
|
||||||
test dl,00010000b
|
test dl,00010000b
|
||||||
jnz .setx
|
jnz .setx
|
||||||
endloop
|
endloop
|
||||||
|
|||||||
@@ -1377,6 +1377,10 @@ COPemulmode
|
|||||||
mov esi,[snesmmap+ebx*4]
|
mov esi,[snesmmap+ebx*4]
|
||||||
mov [initaddrl],esi
|
mov [initaddrl],esi
|
||||||
add esi,eax
|
add esi,eax
|
||||||
|
cmp byte[esi],0CBh
|
||||||
|
jne .notwai
|
||||||
|
mov byte[intrset],2
|
||||||
|
.notwai
|
||||||
test dl,00010000b
|
test dl,00010000b
|
||||||
jnz near .setx
|
jnz near .setx
|
||||||
endloop
|
endloop
|
||||||
@@ -1386,6 +1390,10 @@ COPemulmode
|
|||||||
jae near .upperlower
|
jae near .upperlower
|
||||||
mov [initaddrl],esi
|
mov [initaddrl],esi
|
||||||
add esi,eax
|
add esi,eax
|
||||||
|
cmp byte[esi],0CBh
|
||||||
|
jne .notwai2
|
||||||
|
mov byte[intrset],2
|
||||||
|
.notwai2
|
||||||
test dl,00010000b
|
test dl,00010000b
|
||||||
jnz near .setx
|
jnz near .setx
|
||||||
endloop
|
endloop
|
||||||
|
|||||||
@@ -1319,7 +1319,6 @@ COp7Em16:; ROR a,x
|
|||||||
endloop
|
endloop
|
||||||
|
|
||||||
COp40: ; RTI s
|
COp40: ; RTI s
|
||||||
mov byte[intrset],2
|
|
||||||
RTIMacro
|
RTIMacro
|
||||||
COp6B: ; RTL s
|
COp6B: ; RTL s
|
||||||
RTLMacro
|
RTLMacro
|
||||||
|
|||||||
@@ -1312,7 +1312,6 @@ COp7Em16:; ROR a,x
|
|||||||
endloop
|
endloop
|
||||||
|
|
||||||
COp40: ; RTI s
|
COp40: ; RTI s
|
||||||
mov byte[intrset],2
|
|
||||||
RTIMacro
|
RTIMacro
|
||||||
COp6B: ; RTL s
|
COp6B: ; RTL s
|
||||||
RTLMacro
|
RTLMacro
|
||||||
|
|||||||
@@ -1312,7 +1312,6 @@ COp7Em16:; ROR a,x
|
|||||||
endloop
|
endloop
|
||||||
|
|
||||||
COp40: ; RTI s
|
COp40: ; RTI s
|
||||||
mov byte[intrset],2
|
|
||||||
RTIMacro
|
RTIMacro
|
||||||
COp6B: ; RTL s
|
COp6B: ; RTL s
|
||||||
RTLMacro
|
RTLMacro
|
||||||
|
|||||||
Reference in New Issue
Block a user