mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 04:02:42 +01:00
Reduce log level of page fault notifications
Log current hle function.
This commit is contained in:
parent
bb950cbb3b
commit
c3a4e57efe
@ -1450,9 +1450,17 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context) no
|
||||
pf_events->events.emplace(static_cast<u32>(data2), addr);
|
||||
}
|
||||
|
||||
sig_log.error("Page_fault %s location 0x%x because of %s memory", is_writing ? "writing" : "reading",
|
||||
sig_log.warning("Page_fault %s location 0x%x because of %s memory", is_writing ? "writing" : "reading",
|
||||
addr, data3 == SYS_MEMORY_PAGE_FAULT_CAUSE_READ_ONLY ? "writing read-only" : "using unmapped");
|
||||
|
||||
if (cpu->id_type() == 1)
|
||||
{
|
||||
if (const auto func = static_cast<ppu_thread*>(cpu)->current_function)
|
||||
{
|
||||
sig_log.warning("Page_fault while in function %s", func);
|
||||
}
|
||||
}
|
||||
|
||||
error_code sending_error = sys_event_port_send(pf_port_id, data1, data2, data3);
|
||||
|
||||
// If we fail due to being busy, wait a bit and try again.
|
||||
|
Loading…
Reference in New Issue
Block a user