mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
PPU: log LR in HLE functions
This commit is contained in:
parent
47b545282e
commit
933737e8f0
1 changed files with 8 additions and 1 deletions
|
@ -929,7 +929,14 @@ void ppu_thread::fast_call(u32 addr, u32 rtoc)
|
|||
name_cache = _this->ppu_tname.load();
|
||||
}
|
||||
|
||||
return fmt::format("PPU[0x%x] Thread (%s) [0x%08x]", _this->id, *name_cache.get(), _this->cia);
|
||||
const auto cia = _this->cia;
|
||||
|
||||
if (_this->current_function && vm::read32(cia) != ppu_instructions::SC(0))
|
||||
{
|
||||
return fmt::format("PPU[0x%x] Thread (%s) [HLE:0x%08x, LR:0x%08x]", _this->id, *name_cache.get(), cia, _this->lr);
|
||||
}
|
||||
|
||||
return fmt::format("PPU[0x%x] Thread (%s) [0x%08x]", _this->id, *name_cache.get(), cia);
|
||||
};
|
||||
|
||||
auto at_ret = [&]()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue