[PATCH v2] ntdll: Cache LDR_IMAGE_IS_DLL for InitDLL

Alexandre Julliard julliard at winehq.org
Mon Apr 6 05:24:35 CDT 2020


Myah Caron <qsniyg at protonmail.com> writes:

> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48817
> Signed-off-by: Myah Caron <qsniyg at protonmail.com>
> ---
> v2: Only cache LDR_IMAGE_IS_DLL.
> Using a cached version for all flags can cause issues with Battle.net and Warframe (Thanks GloriousEggroll for testing!)
> Supersedes "ntdll: Use a cached version of LDR_MODULE flags for InitDLL."
> ---

This looks like a hack. You could probably tweak the ldr.EntryPoint
usage instead for that purpose.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list