Skip to content

Commit

Permalink
Implement sys_vm_invalidate
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotekina committed Apr 7, 2018
1 parent 0797164 commit c77b310
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpcs3/Emu/Cell/lv2/sys_vm.cpp
Expand Up @@ -102,8 +102,9 @@ error_code sys_vm_flush(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;
}

Expand Down

0 comments on commit c77b310

Please sign in to comment.