mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
.
This commit is contained in:
parent
bd6786b924
commit
74f276dbe5
@ -1281,7 +1281,7 @@ bool InsertBGI4Hook_2()
|
|||||||
return false;
|
return false;
|
||||||
HookParam hp;
|
HookParam hp;
|
||||||
hp.address = addrs[0] + 5;
|
hp.address = addrs[0] + 5;
|
||||||
hp.type = CODEC_UTF16 | USING_STRING | NO_CONTEXT | EMBED_ABLE | EMBED_AFTER_NEW;
|
hp.type = CODEC_UTF16 | USING_STRING | EMBED_ABLE | EMBED_AFTER_NEW;
|
||||||
hp.embed_hook_font = F_TextOutW | F_GetTextExtentPoint32W;
|
hp.embed_hook_font = F_TextOutW | F_GetTextExtentPoint32W;
|
||||||
hp.filter_fun = BGI7Filter;
|
hp.filter_fun = BGI7Filter;
|
||||||
hp.offset = regoffset(eax);
|
hp.offset = regoffset(eax);
|
||||||
|
@ -107,7 +107,7 @@ bool BGIattach_function2()
|
|||||||
return false;
|
return false;
|
||||||
HookParam hp;
|
HookParam hp;
|
||||||
hp.address = addrs[0] + 5;
|
hp.address = addrs[0] + 5;
|
||||||
hp.type = CODEC_UTF16 | USING_STRING | NO_CONTEXT | EMBED_ABLE | EMBED_AFTER_NEW;
|
hp.type = CODEC_UTF16 | USING_STRING | EMBED_ABLE | EMBED_AFTER_NEW;
|
||||||
hp.embed_hook_font = F_TextOutW | F_GetTextExtentPoint32W;
|
hp.embed_hook_font = F_TextOutW | F_GetTextExtentPoint32W;
|
||||||
hp.filter_fun = BGI7Filter;
|
hp.filter_fun = BGI7Filter;
|
||||||
hp.offset = regoffset(rax);
|
hp.offset = regoffset(rax);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user