This commit is contained in:
恍兮惚兮 2024-11-30 15:26:00 +08:00
parent 218dccf3c2
commit ca316c78d9
2 changed files with 6 additions and 2 deletions

View File

@ -254,6 +254,10 @@ namespace
s = std::regex_replace(s, std::regex(R"(\\n)"), ""); s = std::regex_replace(s, std::regex(R"(\\n)"), "");
buffer->from(s); buffer->from(s);
} }
void PCSG00787(TextBuffer *buffer, HookParam *)
{
CharFilter(buffer, '\n');
}
void FPCSG00912(TextBuffer *buffer, HookParam *hp) void FPCSG00912(TextBuffer *buffer, HookParam *hp)
{ {
auto s = buffer->strA(); auto s = buffer->strA();
@ -616,7 +620,7 @@ namespace
// 絶対迷宮 秘密のおやゆび姫 // 絶対迷宮 秘密のおやゆび姫
{0x8003F554, {0, 5, 0, 0, 0, "PCSG00611"}}, {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; return 1;
}(); }();

View File

@ -110,7 +110,7 @@
"name": "过滤尖括号<>" "name": "过滤尖括号<>"
}, },
"_6EX": { "_6EX": {
"use": true, "use": false,
"name": "过滤换行符" "name": "过滤换行符"
}, },
"_91": { "_91": {