MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / LBU

Function LBU

pcsx2/R5900OpcodeImpl.cpp:536–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534}
535
536void LBU()
537{
538 u32 addr = cpuRegs.GPR.r[_Rs_].UL[0] + _Imm_;
539 u8 temp = memRead8(addr);
540
541 if (!_Rt_) return;
542 cpuRegs.GPR.r[_Rt_].UD[0] = temp;
543
544 // Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
545 if ((addr & 0xFFFFE000) == 0x10000000)
546 {
547 intUpdateCPUCycles();
548 intEventTest();
549 }
550}
551
552void LH()
553{

Callers

nothing calls this directly

Calls 2

intUpdateCPUCyclesFunction · 0.85
intEventTestFunction · 0.85

Tested by

no test coverage detected