mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-24 04:04:14 +08:00
psp
This commit is contained in:
parent
6112fa9563
commit
3c1d2b4c52
@ -250,6 +250,13 @@ namespace ppsspp
|
||||
s = std::regex_replace(s, std::wregex(LR"(<(.*?)\|(.*?)>)"), L"$1");
|
||||
return write_string_overwrite(data, size, s);
|
||||
}
|
||||
bool FNPJH50459(void *data, size_t *len, HookParam *hp)
|
||||
{
|
||||
auto s = std::string((char *)data, *len);
|
||||
s = std::regex_replace(s, std::regex(R"(#SCL\((.*?)\)(.*?)#ECL)"), "$2");
|
||||
strReplace(s, "\n\r\n", "\n");
|
||||
return write_string_overwrite(data, len, s);
|
||||
}
|
||||
bool FULJM05690(void *data, size_t *len, HookParam *hp)
|
||||
{
|
||||
auto s = std::string((char *)data, *len);
|
||||
@ -387,6 +394,10 @@ namespace ppsspp
|
||||
{0x882A650, {0, 1, 0, 0, 0, "ULJM06023"}},
|
||||
// 0時の鐘とシンデレラ~Halloween Wedding~ (instance: 2)
|
||||
{0x8855CA0, {0, 1, 0, 0, 0, "ULJM06272"}},
|
||||
// セブンスドラゴン2020
|
||||
{0x88847A0, {CODEC_UTF8, 1, 0, 0, FNPJH50459, "NPJH50459"}},
|
||||
// セブンスドラゴン2020-Ⅱ
|
||||
{0x8889CCC, {CODEC_UTF8, 1, 0, 0, FNPJH50459, "NPJH50716"}}, // 会有两三条后续文本都被一次性提取到。
|
||||
};
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user