forked from Public-Mirror/Textractor
improve bgi support
This commit is contained in:
parent
58c80c82ba
commit
ce88341cce
@ -2137,8 +2137,9 @@ bool InsertBGI3Hook()
|
|||||||
// BGI1 can exist in both old and new games
|
// BGI1 can exist in both old and new games
|
||||||
// BGI2 only exist in new games
|
// BGI2 only exist in new games
|
||||||
// Insert BGI2 first.
|
// Insert BGI2 first.
|
||||||
|
// Artikash 6/12/2019: In newer games neither exists, but WideCharToMultiByte works, so insert that if BGI2 fails.
|
||||||
bool InsertBGIHook()
|
bool InsertBGIHook()
|
||||||
{ return InsertBGI2Hook() || InsertBGI1Hook(); }
|
{ return InsertBGI2Hook() || (PcHooks::hookOtherPcFunctions(), InsertBGI1Hook()); }
|
||||||
|
|
||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
Reallive hook:
|
Reallive hook:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user