CatSystem3new engine. Split furigana from sentence
This commit is contained in:
parent
233e75225c
commit
91a52caa99
@ -6573,9 +6573,13 @@ bool InsertCatSystemHook()
|
|||||||
// jichi 12/23/2014: Modify split for new catsystem
|
// jichi 12/23/2014: Modify split for new catsystem
|
||||||
bool newEngine = Util::CheckFile(L"cs2conf.dll");
|
bool newEngine = Util::CheckFile(L"cs2conf.dll");
|
||||||
if (newEngine) {
|
if (newEngine) {
|
||||||
hp.text_fun = SpecialHookCatSystem3; // type not needed
|
//hp.text_fun = SpecialHookCatSystem3; // type not needed
|
||||||
NewHook(hp, "CatSystem3");
|
//NewHook(hp, "CatSystem3");
|
||||||
ConsoleOutput("vnreng: INSERT CatSystem3");
|
//ConsoleOutput("vnreng: INSERT CatSystem3");
|
||||||
|
hp.type = BIG_ENDIAN|USING_SPLIT;
|
||||||
|
hp.split = pusha_esi_off - 4;
|
||||||
|
NewHook(hp, "CatSystem3new");
|
||||||
|
ConsoleOutput("vnreng: INSERT CatSystem3new");
|
||||||
} else {
|
} else {
|
||||||
hp.type = BIG_ENDIAN|USING_SPLIT;
|
hp.type = BIG_ENDIAN|USING_SPLIT;
|
||||||
hp.split = pusha_edx_off - 4; // -0x10
|
hp.split = pusha_edx_off - 4; // -0x10
|
||||||
|
Loading…
Reference in New Issue
Block a user