New RSX Debugger

This commit is contained in:
Eladash 2021-01-22 10:11:54 +02:00 committed by Ivan
parent 67dd6754a6
commit 0652870204
42 changed files with 583 additions and 271 deletions

View file

@ -121,10 +121,6 @@ std::string dump_useful_thread_info()
{
result = cpu->dump_all();
}
else if (auto render = rsx::get_current_renderer(); render && render->is_current_thread())
{
result = render->dump_regs();
}
guard = false;
return result;
@ -1422,7 +1418,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context) no
return vm::check_addr(addr, is_writing ? vm::page_writable : vm::page_readable);
};
if (cpu)
if (cpu && (cpu->id_type() == 1 || cpu->id_type() == 2))
{
vm::temporary_unlock(*cpu);
u32 pf_port_id = 0;