mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
Implement sys_vm_invalidate
This commit is contained in:
parent
0797164fac
commit
c77b310422
1 changed files with 2 additions and 1 deletions
|
@ -102,8 +102,9 @@ error_code sys_vm_flush(u32 addr, u32 size)
|
||||||
|
|
||||||
error_code sys_vm_invalidate(u32 addr, u32 size)
|
error_code sys_vm_invalidate(u32 addr, u32 size)
|
||||||
{
|
{
|
||||||
sys_vm.todo("sys_vm_invalidate(addr=0x%x, size=0x%x)", addr, size);
|
sys_vm.warning("sys_vm_invalidate(addr=0x%x, size=0x%x)", addr, size);
|
||||||
|
|
||||||
|
std::memset(vm::base(addr), 0, size);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue