mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
ppu: Log SELF header information and CIA of caller HLE functions
This commit is contained in:
parent
4e0070f16d
commit
a7aef22754
2 changed files with 6 additions and 2 deletions
|
@ -831,7 +831,8 @@ void ppu_thread::fast_call(u32 addr, u32 rtoc)
|
|||
g_tls_log_prefix = []
|
||||
{
|
||||
const auto _this = static_cast<ppu_thread*>(get_current_cpu_thread());
|
||||
return fmt::format("%s [0x%08x]", thread_ctrl::get_name(), _this->cia);
|
||||
return fmt::format("%s [0x%08x]", thread_ctrl::get_name(), !_this->current_function ?
|
||||
_this->cia : static_cast<u32>(_this->lr) - 4);
|
||||
};
|
||||
|
||||
auto at_ret = [&]()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue