mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Interpreter: Use correct destination for eciwx
Gekko manual defines the destination as rD. Also, if rA is zero, the value zero is used, so FL_IN_AB is changed to FL_IN_A0B.
This commit is contained in:
parent
860c889454
commit
a8199a1070
@ -403,7 +403,7 @@ void Interpreter::eciwx(UGeckoInstruction _inst)
|
||||
// _assert_msg_(POWERPC,0,"eciwx - fill r%i with word @ %08x from device %02x",
|
||||
// _inst.RS, EA, PowerPC::ppcState.spr[SPR_EAR] & 0x1f);
|
||||
|
||||
rGPR[_inst.RS] = PowerPC::Read_U32(EA);
|
||||
rGPR[_inst.RD] = PowerPC::Read_U32(EA);
|
||||
}
|
||||
|
||||
void Interpreter::ecowx(UGeckoInstruction _inst)
|
||||
|
@ -263,7 +263,7 @@ static GekkoOPTemplate table31[] =
|
||||
{982, Interpreter::icbi, {"icbi", OPTYPE_SYSTEM, FL_ENDBLOCK, 4, 0, 0, 0}},
|
||||
|
||||
// Unused instructions on GC
|
||||
{310, Interpreter::eciwx, {"eciwx", OPTYPE_SYSTEM, FL_IN_AB | FL_OUT_S, 1, 0, 0, 0}},
|
||||
{310, Interpreter::eciwx, {"eciwx", OPTYPE_SYSTEM, FL_IN_A0B | FL_OUT_D, 1, 0, 0, 0}},
|
||||
{438, Interpreter::ecowx, {"ecowx", OPTYPE_SYSTEM, FL_IN_AB | FL_IN_S, 1, 0, 0, 0}},
|
||||
{854, Interpreter::eieio, {"eieio", OPTYPE_SYSTEM, 0, 1, 0, 0, 0}},
|
||||
{306, Interpreter::tlbie, {"tlbie", OPTYPE_SYSTEM, 0, 1, 0, 0, 0}},
|
||||
|
Loading…
Reference in New Issue
Block a user