mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Replaces page fault triggers with assembly
This commit is contained in:
parent
fa7ef870dd
commit
7d55a85fa6
3 changed files with 13 additions and 3 deletions
|
|
@ -237,7 +237,7 @@ namespace vm
|
|||
|
||||
// Try triggering a page fault (write)
|
||||
// TODO: Read memory if needed
|
||||
vm::_ref<atomic_t<u8>>(test / 4096 == begin / 4096 ? begin : test) += 0;
|
||||
utils::trigger_write_page_fault(vm::base(test / 4096 == begin / 4096 ? begin : test));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue