From: Alexandre Julliard Subject: Re: [PATCH v2] ntdll: Cache LDR_IMAGE_IS_DLL for InitDLL Message-Id: <87blo4hpy4.fsf@wine> Date: Mon, 06 Apr 2020 12:24:35 +0200 In-Reply-To: (Myah Caron's message of "Thu, 02 Apr 2020 06:25:23 +0000") References: Myah Caron writes: > Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48817 > Signed-off-by: Myah Caron > --- > 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@winehq.org