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": {