Add some debugging information

This commit is contained in:
Eladash 2022-08-26 10:50:58 +03:00 committed by Megamouse
parent f98251a05a
commit 3f02935844
4 changed files with 55 additions and 4 deletions

View file

@ -1527,6 +1527,14 @@ void ppu_thread::cpu_on_stop()
current_function = {};
}
// TODO: More conditions
if (Emu.IsStopped() && g_cfg.core.spu_debug)
{
std::string ret;
dump_all(ret);
ppu_log.notice("thread context: %s", ret);
}
}
void ppu_thread::exec_task()