Apply FF13 fixes on CreateWindowExA too
This commit is contained in:
parent
db45bff0ed
commit
4133d6b03a
|
@ -298,6 +298,11 @@ HWND WINAPI MainContext::HookCreateWindowExA(DWORD dwExStyle, LPCSTR lpClassName
|
|||
return hWnd;
|
||||
}
|
||||
|
||||
if (context.autofix == FINAL_FANTASY_XIII && !context.didOneTimeFixes) {
|
||||
PrintLog("Starting FFXIII one time RAM patches. (HookCreateWindowExA)");
|
||||
context.FFXIIIOneTimeFixes();
|
||||
}
|
||||
|
||||
if (context.CheckWindow(hWnd))
|
||||
{
|
||||
context.ApplyWndProc(hWnd);
|
||||
|
@ -317,7 +322,7 @@ HWND WINAPI MainContext::HookCreateWindowExW(DWORD dwExStyle, LPCWSTR lpClassNam
|
|||
}
|
||||
|
||||
if (context.autofix == FINAL_FANTASY_XIII && !context.didOneTimeFixes) {
|
||||
PrintLog("Starting FFXIII one time RAM patches.");
|
||||
PrintLog("Starting FFXIII one time RAM patches. (HookCreateWindowExW)");
|
||||
context.FFXIIIOneTimeFixes();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue