23 Jun
2021
23 Jun
'21
3:01 a.m.
Zhiyi Zhang <zzhang(a)codeweavers.com> writes:
@@ -417,11 +417,22 @@ static const WCHAR *enum_load_path( unsigned int idx ) /* try to load a pre-compiled fake dll */ static void *load_fake_dll( const WCHAR *name, SIZE_T *size ) { + static const struct + { + const WCHAR *suffix; + const WCHAR *dir; + } + search_dirs[] = + { + {L".dll", L"\\dlls"}, + {L".exe", L"\\programs"}, + {L".msstyles", L"\\themes"}, + };
I don't think we need to add a new category of files. A .msstyles file is just a dll, it can go into a dlls/light.msstyles directory. -- Alexandre Julliard julliard(a)winehq.org