From b3468b2c7489f802ab5c41bada9fd62d5b53c46b Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 7 Jun 2020 18:15:49 +0800 Subject: [PATCH 1/3] Real support "Hatsune Miku Project Diva Extend" chinese version --- Core/PSPLoaders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/PSPLoaders.cpp b/Core/PSPLoaders.cpp index d72c648601c3..eb910487f273 100644 --- a/Core/PSPLoaders.cpp +++ b/Core/PSPLoaders.cpp @@ -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", From 6254c12e6ccc295a55cfde06ade366208f679bd8 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 7 Jun 2020 18:17:09 +0800 Subject: [PATCH 2/3] Reduce sysclib_memcpy log level The function is right. Tested on "Hatsune Miku Project Diva Extend" chinese patched version --- Core/HLE/sceKernelInterrupt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceKernelInterrupt.cpp b/Core/HLE/sceKernelInterrupt.cpp index 6ec86f99af43..aafa7150eb26 100644 --- a/Core/HLE/sceKernelInterrupt.cpp +++ b/Core/HLE/sceKernelInterrupt.cpp @@ -681,7 +681,7 @@ const HLEFunction Kernel_Library[] = }; 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); + DEBUG_LOG(SCEKERNEL, "Untested sysclib_memcpy(dest=%08x, src=%08x, size=%i)", dst, src, size); if (Memory::IsValidRange(dst, size) && Memory::IsValidRange(src, size)) { memcpy(Memory::GetPointer(dst), Memory::GetPointer(src), size); } From d17f50e07bf689ece053a625059c236968ac0e56 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 7 Jun 2020 18:28:09 +0800 Subject: [PATCH 3/3] Kill the log as @hrydgard suggest --- Core/HLE/sceKernelInterrupt.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/HLE/sceKernelInterrupt.cpp b/Core/HLE/sceKernelInterrupt.cpp index aafa7150eb26..72d0c98da6c9 100644 --- a/Core/HLE/sceKernelInterrupt.cpp +++ b/Core/HLE/sceKernelInterrupt.cpp @@ -680,8 +680,7 @@ const HLEFunction Kernel_Library[] = {0XFA835CDE, &WrapI_I, "sceKernelGetTlsAddr", 'i', "i" }, }; -static u32 sysclib_memcpy(u32 dst, u32 src, u32 size) { - DEBUG_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); }