SA-1 timing updates, this fixes flicking in various SA-1 games and other graphics problems

This commit is contained in:
pagefault
2003-07-03 21:08:32 +00:00
parent 0abc7ad9e2
commit 484977d8b5

View File

@@ -2494,7 +2494,7 @@ NEWSYM cpuover
test byte[SA1Control],60h test byte[SA1Control],60h
jnz near .nosa1 jnz near .nosa1
call SA1Swap call SA1Swap
cmp byte[CurrentExecSA1],15 cmp byte[CurrentExecSA1],60
ja .nocontinueexec ja .nocontinueexec
xor ebx,ebx xor ebx,ebx
mov bl,[esi] mov bl,[esi]
@@ -4426,7 +4426,7 @@ NEWSYM execsingle
inc esi inc esi
mov [pdh],dh mov [pdh],dh
xor dh,dh xor dh,dh
cmp byte[CurrentExecSA1],17 cmp byte[CurrentExecSA1],62
jb near cpuover jb near cpuover
mov byte[CurrentExecSA1],0 mov byte[CurrentExecSA1],0
mov byte[cycpl],5 mov byte[cycpl],5