mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-01 18:31:16 +00:00
Fix SLW & SRW, an x86 does not work the same way as a ppc
This commit is contained in:
parent
ae2d91912c
commit
d7ac6a0e68
@ -666,12 +666,16 @@ void OPPROTO op_mullwo_T0_T1(void)
|
||||
|
||||
void OPPROTO op_slw_T0_T1(void)
|
||||
{
|
||||
T0 = T0 << (T1 & 0x3f);
|
||||
T1 &= 0x3f;
|
||||
T0 = (T1 & 0x20) ? 0 : (T0 << T1);
|
||||
dyngen_barrier();
|
||||
}
|
||||
|
||||
void OPPROTO op_srw_T0_T1(void)
|
||||
{
|
||||
T0 = T0 >> (T1 & 0x3f);
|
||||
T1 &= 0x3f;
|
||||
T0 = (T1 & 0x20) ? 0 : (T0 >> T1);
|
||||
dyngen_barrier();
|
||||
}
|
||||
|
||||
void OPPROTO op_sraw_T0_T1(void)
|
||||
|
Loading…
Reference in New Issue
Block a user