From ca316c78d9598980732db7cb4e37c71773106fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Sat, 30 Nov 2024 15:26:00 +0800 Subject: [PATCH] . --- cpp/LunaHook/LunaHook/engine64/vita3k.cpp | 6 +++++- py/files/defaultconfig/postprocessconfig.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cpp/LunaHook/LunaHook/engine64/vita3k.cpp b/cpp/LunaHook/LunaHook/engine64/vita3k.cpp index 988c940e..5248e88d 100644 --- a/cpp/LunaHook/LunaHook/engine64/vita3k.cpp +++ b/cpp/LunaHook/LunaHook/engine64/vita3k.cpp @@ -254,6 +254,10 @@ namespace s = std::regex_replace(s, std::regex(R"(\\n)"), ""); buffer->from(s); } + void PCSG00787(TextBuffer *buffer, HookParam *) + { + CharFilter(buffer, '\n'); + } void FPCSG00912(TextBuffer *buffer, HookParam *hp) { auto s = buffer->strA(); @@ -616,7 +620,7 @@ namespace // 絶対迷宮 秘密のおやゆび姫 {0x8003F554, {0, 5, 0, 0, 0, "PCSG00611"}}, // 鏡界の白雪 - {0x810286C8, {CODEC_UTF8, 0, 0, 0, 0, "PCSG00787"}}, + {0x810286C8, {CODEC_UTF8, 0, 0, 0, PCSG00787, "PCSG00787"}}, }; return 1; }(); diff --git a/py/files/defaultconfig/postprocessconfig.json b/py/files/defaultconfig/postprocessconfig.json index d9d94711..7a067f0c 100644 --- a/py/files/defaultconfig/postprocessconfig.json +++ b/py/files/defaultconfig/postprocessconfig.json @@ -110,7 +110,7 @@ "name": "过滤尖括号<>" }, "_6EX": { - "use": true, + "use": false, "name": "过滤换行符" }, "_91": {