| 590 | } |
| 591 | |
| 592 | void LW() |
| 593 | { |
| 594 | u32 addr = cpuRegs.GPR.r[_Rs_].UL[0] + _Imm_; |
| 595 | |
| 596 | if (addr & 3) [[unlikely]] |
| 597 | RaiseAddressError(addr, false); |
| 598 | |
| 599 | u32 temp = memRead32(addr); |
| 600 | |
| 601 | if (!_Rt_) return; |
| 602 | cpuRegs.GPR.r[_Rt_].SD[0] = (s32)temp; |
| 603 | |
| 604 | // Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games. |
| 605 | if ((addr & 0xFFFFE000) == 0x10000000) |
| 606 | { |
| 607 | intUpdateCPUCycles(); |
| 608 | intEventTest(); |
| 609 | } |
| 610 | } |
| 611 | |
| 612 | void LWU() |
| 613 | { |
nothing calls this directly
no test coverage detected