Merge pull request #13007 from sum2012/Miku_cn_patch

Real support "Hatsune Miku Project Diva Extend" chinese patched version
This commit is contained in:
Henrik Rydgård 2020-06-07 12:33:48 +02:00 committed by GitHub
commit 820b578a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -680,8 +680,7 @@ const HLEFunction Kernel_Library[] =
{0XFA835CDE, &WrapI_I<sceKernelGetTlsAddr>, "sceKernelGetTlsAddr", 'i', "i" },
};
static u32 sysclib_memcpy(u32 dst, u32 src, u32 size) {
ERROR_LOG(SCEKERNEL, "Untested sysclib_memcpy(dest=%08x, src=%08x, size=%i)", dst, src, size);
static u32 sysclib_memcpy(u32 dst, u32 src, u32 size) {
if (Memory::IsValidRange(dst, size) && Memory::IsValidRange(src, size)) {
memcpy(Memory::GetPointer(dst), Memory::GetPointer(src), size);
}

View File

@ -203,7 +203,7 @@ static const char *altBootNames[] = {
"disc0:/PSP_GAME/SYSDIR/EBOOT.LLD",
//"disc0:/PSP_GAME/SYSDIR/OLD_EBOOT.BIN", //Utawareru Mono Chinese version
"disc0:/PSP_GAME/SYSDIR/EBOOT.123",
"disc0:/PSP_GAME/SYSDIR/EBOOT_LRC_CH.BIN",
//"disc0:/PSP_GAME/SYSDIR/EBOOT_LRC_CH.BIN", // Hatsune Miku Project Diva Extend chinese version
"disc0:/PSP_GAME/SYSDIR/BOOT0.OLD",
"disc0:/PSP_GAME/SYSDIR/BOOT1.OLD",
"disc0:/PSP_GAME/SYSDIR/BINOT.BIN",