mirror of https://github.com/PCSX2/pcsx2.git
Fixed System 11 emulation in Tekken 5
(EErec bug: madd should be signed multiplication, not unsigned) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1474 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
90e7944577
commit
d9963bb54e
|
@ -783,7 +783,6 @@ void recDIVU1_constt(int info)
|
|||
|
||||
EERECOMPILE_CODE0(DIVU1, XMMINFO_READS|XMMINFO_READT);
|
||||
|
||||
|
||||
void recMADD()
|
||||
{
|
||||
EEINST_SETSIGNEXT(_Rs_);
|
||||
|
@ -826,15 +825,15 @@ void recMADD()
|
|||
|
||||
if( GPR_IS_CONST1(_Rs_) ) {
|
||||
MOV32ItoR( EAX, g_cpuConstRegs[_Rs_].UL[0] );
|
||||
MUL32M( (int)&cpuRegs.GPR.r[ _Rt_ ].UL[ 0 ] );
|
||||
IMUL32M( (int)&cpuRegs.GPR.r[ _Rt_ ].UL[ 0 ] );
|
||||
}
|
||||
else if ( GPR_IS_CONST1(_Rt_) ) {
|
||||
MOV32ItoR( EAX, g_cpuConstRegs[_Rt_].UL[0] );
|
||||
MUL32M( (int)&cpuRegs.GPR.r[ _Rs_ ].UL[ 0 ] );
|
||||
IMUL32M( (int)&cpuRegs.GPR.r[ _Rs_ ].UL[ 0 ] );
|
||||
}
|
||||
else {
|
||||
MOV32MtoR( EAX, (int)&cpuRegs.GPR.r[ _Rs_ ].UL[ 0 ] );
|
||||
MUL32M( (int)&cpuRegs.GPR.r[ _Rt_ ].UL[ 0 ] );
|
||||
IMUL32M( (int)&cpuRegs.GPR.r[ _Rt_ ].UL[ 0 ] );
|
||||
}
|
||||
|
||||
MOV32RtoR( ECX, EDX );
|
||||
|
|
Loading…
Reference in New Issue