| 570 | } |
| 571 | |
| 572 | void LHU() |
| 573 | { |
| 574 | u32 addr = cpuRegs.GPR.r[_Rs_].UL[0] + _Imm_; |
| 575 | |
| 576 | if (addr & 1) [[unlikely]] |
| 577 | RaiseAddressError(addr, false); |
| 578 | |
| 579 | u16 temp = memRead16(addr); |
| 580 | |
| 581 | if (!_Rt_) return; |
| 582 | cpuRegs.GPR.r[_Rt_].UD[0] = temp; |
| 583 | |
| 584 | // Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games. |
| 585 | if ((addr & 0xFFFFE000) == 0x10000000) |
| 586 | { |
| 587 | intUpdateCPUCycles(); |
| 588 | intEventTest(); |
| 589 | } |
| 590 | } |
| 591 | |
| 592 | void LW() |
| 593 | { |
nothing calls this directly
no test coverage detected