| 518 | } |
| 519 | |
| 520 | void LB() |
| 521 | { |
| 522 | u32 addr = cpuRegs.GPR.r[_Rs_].UL[0] + _Imm_; |
| 523 | s8 temp = memRead8(addr); |
| 524 | |
| 525 | if (!_Rt_) return; |
| 526 | cpuRegs.GPR.r[_Rt_].SD[0] = temp; |
| 527 | |
| 528 | // Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games. |
| 529 | if ((addr & 0xFFFFE000) == 0x10000000) |
| 530 | { |
| 531 | intUpdateCPUCycles(); |
| 532 | intEventTest(); |
| 533 | } |
| 534 | } |
| 535 | |
| 536 | void LBU() |
| 537 | { |
nothing calls this directly
no test coverage detected