mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Add PPU instruction stat dumper
Needs PPU Debug option to activate and PPU Interpreter Dumps after Resume (after Pause) Fix utils::memory_decommit, clean vm.cpp
This commit is contained in:
parent
f5d450f24c
commit
df2fc13b7a
5 changed files with 61 additions and 43 deletions
|
@ -14,6 +14,11 @@ inline void ppu_cr_set(ppu_thread& ppu, u32 field, bool le, bool gt, bool eq, bo
|
|||
ppu.cr[field * 4 + 1] = gt;
|
||||
ppu.cr[field * 4 + 2] = eq;
|
||||
ppu.cr[field * 4 + 3] = so;
|
||||
|
||||
if (UNLIKELY(g_cfg.core.ppu_debug))
|
||||
{
|
||||
*(u32*)(vm::g_stat_addr + ppu.cia) |= *(u32*)(u8*)(ppu.cr + field * 4);
|
||||
}
|
||||
}
|
||||
|
||||
// Write comparison results to CR field
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue