diff options
author | Yifan Lu | 2016-12-26 08:53:02 -0800 |
---|---|---|
committer | Yifan Lu | 2016-12-26 08:53:02 -0800 |
commit | 4713452731dd489c13c9415c3c31637845f108f3 (patch) | |
tree | df59332d82fe104078374c66f330acf37685e26b /lib | |
parent | Fix uninitialized variable in ARM32 transform_dis_branch (diff) | |
download | substitute-4713452731dd489c13c9415c3c31637845f108f3.tar.gz |
Updated Vita platform to support renamed functions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vita/execmem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/vita/execmem.c b/lib/vita/execmem.c index ba772ae..73c5fdc 100644 --- a/lib/vita/execmem.c +++ b/lib/vita/execmem.c @@ -126,14 +126,14 @@ int execmem_foreign_write_with_pc_patch(struct execmem_foreign_write *writes, struct slab_chain *slab = (struct slab_chain *)writes[i].opt; SceUID pid = slab->pid; if (pid == SHARED_PID) { - pid = sceKernelGetProcessId(); - LOG("sceKernelGetProcessId: %x", pid); + pid = ksceKernelGetProcessId(); + LOG("ksceKernelGetProcessId: %x", pid); } LOG("PID:%x, dst:%p, src:%p, len:%x", pid, writes[i].dst, writes[i].src, writes[i].len); if (pid == KERNEL_PID) { - sceKernelCpuUnrestrictedMemcpy(writes[i].dst, writes[i].src, writes[i].len); + ksceKernelCpuUnrestrictedMemcpy(writes[i].dst, writes[i].src, writes[i].len); } else { - sceKernelRxMemcpyKernelToUserForPid(pid, (uintptr_t)writes[i].dst, writes[i].src, writes[i].len); + ksceKernelRxMemcpyKernelToUserForPid(pid, (uintptr_t)writes[i].dst, writes[i].src, writes[i].len); } cache_flush(pid, (uintptr_t)writes[i].dst, writes[i].len); } |