mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
revert r3862, until it can be figured out why it causes problems with RE0 sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4047 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -950,13 +950,13 @@
|
|||||||
INSTRUCTION_START;
|
INSTRUCTION_START;
|
||||||
int a = inst.RA;
|
int a = inst.RA;
|
||||||
int s = inst.RS;
|
int s = inst.RS;
|
||||||
if (gpr.R(a).IsImm() || gpr.R(s).IsImm())
|
if (gpr.R(a).IsImm() || gpr.R(s).IsImm() || s == a)
|
||||||
{
|
{
|
||||||
Default(inst);
|
Default(inst);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
gpr.Lock(a, s);
|
gpr.Lock(a, s);
|
||||||
gpr.LoadToX64(a, true, true);
|
gpr.LoadToX64(a, false);
|
||||||
BSR(32, gpr.R(a).GetSimpleReg(), gpr.R(s));
|
BSR(32, gpr.R(a).GetSimpleReg(), gpr.R(s));
|
||||||
FixupBranch gotone = J_CC(CC_NZ);
|
FixupBranch gotone = J_CC(CC_NZ);
|
||||||
MOV(32, gpr.R(a), Imm32(63));
|
MOV(32, gpr.R(a), Imm32(63));
|
||||||
|
Reference in New Issue
Block a user