mscoree: Improve non-neutral assembly lookup logic.
commit500478cae926259faf1df16d881878711252d08c
authorRémi Bernon <rbernon@codeweavers.com>
Tue, 2 Feb 2021 08:25:18 +0000 (2 09:25 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 3 Feb 2021 08:23:43 +0000 (3 09:23 +0100)
treee5c16f6dbc7ef1d9c2a13f2867c9941134375e15
parentcda039943dca510b412743c8a376fc36815bbfef
mscoree: Improve non-neutral assembly lookup logic.

And neutral logic too, and the combinations with custom privatePath
config.

This fixes a crash with Mafia III launcher, when it tries to load its
localized strings from culture-specific assemblies to display its
warning popup message.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/mscoree/metahost.c
dlls/mscoree/tests/loadpaths.dll.cs [copied from dlls/mscoree/tests/resource.rc with 70% similarity]
dlls/mscoree/tests/loadpaths.exe.config [new file with mode: 0644]
dlls/mscoree/tests/loadpaths.exe.cs [copied from dlls/mscoree/tests/resource.rc with 69% similarity]
dlls/mscoree/tests/mscoree.c
dlls/mscoree/tests/resource.rc