Writeback cache in ksceKernelCpuUnrestrictedMemcpy
@@ -89,6 +89,7 @@ static inline int ksceKernelCpuUnrestrictedMemcpy(void *dst, const void *src, si
asm ("mcr p15, 0, %0, c3, c0, 0" :: "r" (0xFFFF0000));
memcpy(dst, src, len);
+ ksceKernelCpuDcacheWritebackRange((uintptr_t)dst & ~0x1F, (len + 0x1F) & ~0x1F);
asm ("mcr p15, 0, %0, c3, c0, 0" :: "r" (prev_dacr));
return 0;
