mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
Fix crash on exit after access violation
This commit is contained in:
parent
c0a0cb98c5
commit
4b1c052030
2 changed files with 8 additions and 1 deletions
|
@ -1295,6 +1295,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context)
|
|||
}
|
||||
}
|
||||
|
||||
vm::temporary_unlock(*cpu);
|
||||
LOG_FATAL(MEMORY, "Access violation %s location 0x%x", is_writing ? "writing" : "reading", addr);
|
||||
cpu->state += cpu_flag::dbg_pause;
|
||||
cpu->check_state();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue