mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
JitIL: make psq_lu work correctly. Fixes, among other things,
the graphics in Metroid Prime. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2234 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
acb3d1b23d
commit
39b7fe10f7
@ -65,6 +65,8 @@ void Jit64::psq_l(UGeckoInstruction inst)
|
||||
IREmitter::InstLoc addr = ibuild.EmitIntConst(inst.SIMM_12), val;
|
||||
if (inst.RA)
|
||||
addr = ibuild.EmitAdd(addr, ibuild.EmitLoadGReg(inst.RA));
|
||||
if (inst.OPCD == 57)
|
||||
ibuild.EmitStoreGReg(addr, inst.RA);
|
||||
val = ibuild.EmitLoadPaired(addr, inst.I);
|
||||
val = ibuild.EmitExpandPackedToMReg(val);
|
||||
ibuild.EmitStoreFReg(val, inst.RD);
|
||||
|
Loading…
x
Reference in New Issue
Block a user