Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sum2012 committed Jun 21, 2020
1 parent 1f37ce6 commit de947a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/HLE/sceKernelInterrupt.cpp
Expand Up @@ -776,7 +776,7 @@ static int sysclib_strncmp(u32 s1, u32 s2, u32 size) {
return 0;
}

static int sysclib_memmove(u32 dst, u32 src, u32 size) {
static u32 sysclib_memmove(u32 dst, u32 src, u32 size) {
ERROR_LOG(SCEKERNEL, "Untested sysclib_memmove(%08x, %08x, x)", dst, src, size);
if (Memory::IsValidRange(dst, size) && Memory::IsValidRange(src, size)) {
memmove(Memory::GetPointer(dst), Memory::GetPointer(src), size);
Expand All @@ -796,7 +796,7 @@ const HLEFunction SysclibForKernel[] =
{0x10F3BB61, &WrapU_UII<sysclib_memset>, "memset", 'x', "xii", HLE_KERNEL_SYSCALL },
{0x0D188658, &WrapI_UU<sysclib_strstr>, "strstr", 'i', "xx", HLE_KERNEL_SYSCALL },
{0x7AB35214, &WrapI_UUU<sysclib_strncmp>, "strncmp", 'i', "xxx", HLE_KERNEL_SYSCALL },
{0xA48D2592, &WrapI_UUU<sysclib_memmove>, "memmove", 'i', "xxx", HLE_KERNEL_SYSCALL },
{0xA48D2592, &WrapU_UUU<sysclib_memmove>, "memmove", 'x', "xxx", HLE_KERNEL_SYSCALL },
};

void Register_Kernel_Library()
Expand Down

0 comments on commit de947a6

Please sign in to comment.