mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 20:22:30 +01:00
Log currently PPU HLE function executed after access violation
old functionality retrieved
This commit is contained in:
parent
2016a33277
commit
0979207cc6
@ -1408,7 +1408,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cpu->id_type() == 2)
|
if (cpu->id_type() != 1)
|
||||||
{
|
{
|
||||||
LOG_FATAL(MEMORY, "Access violation %s location 0x%x", is_writing ? "writing" : "reading", addr);
|
LOG_FATAL(MEMORY, "Access violation %s location 0x%x", is_writing ? "writing" : "reading", addr);
|
||||||
|
|
||||||
@ -1436,12 +1436,17 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (auto last_func = static_cast<ppu_thread*>(cpu)->current_function)
|
||||||
|
{
|
||||||
|
LOG_FATAL(PPU, "Function aborted: %s", last_func);
|
||||||
|
}
|
||||||
|
|
||||||
lv2_obj::sleep(*cpu);
|
lv2_obj::sleep(*cpu);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_FATAL(MEMORY, "Access violation %s location 0x%x", is_writing ? "writing" : "reading", addr);
|
|
||||||
Emu.Pause();
|
Emu.Pause();
|
||||||
|
LOG_FATAL(MEMORY, "Access violation %s location 0x%x", is_writing ? "writing" : "reading", addr);
|
||||||
|
|
||||||
while (Emu.IsPaused())
|
while (Emu.IsPaused())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user