PPU debugger: Implement PPU calling history

This commit is contained in:
Eladash 2021-07-10 11:56:48 +03:00 committed by Megamouse
parent c2f0fbcd82
commit 8e2c34a003
8 changed files with 186 additions and 35 deletions

View file

@ -47,6 +47,13 @@ bool ppu_thread_exit(ppu_thread& ppu)
dct.used -= ppu.stack_size;
}
if (ppu.call_history.index)
{
std::string str = fmt::format("%s", ppu.call_history);
ppu.call_history.index = 0;
ppu_log.notice("Calling history: %s", str);
}
return false;
}