Bugfix: all PE modules were marked 'internal'.
This commit is contained in:
parent
e6ea9ebb5e
commit
b613a105b6
|
@ -841,7 +841,6 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags, DWORD *err)
|
||||||
HMODULE16 hModule16;
|
HMODULE16 hModule16;
|
||||||
NE_MODULE *pModule;
|
NE_MODULE *pModule;
|
||||||
WINE_MODREF *wm;
|
WINE_MODREF *wm;
|
||||||
BOOL builtin = TRUE;
|
|
||||||
char dllname[256], *p;
|
char dllname[256], *p;
|
||||||
HFILE hFile;
|
HFILE hFile;
|
||||||
|
|
||||||
|
@ -879,7 +878,7 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags, DWORD *err)
|
||||||
pModule->module32 = hModule32;
|
pModule->module32 = hModule32;
|
||||||
|
|
||||||
/* Create 32-bit MODREF */
|
/* Create 32-bit MODREF */
|
||||||
if ( !(wm = PE_CreateModule( hModule32, &ofs, flags, builtin )) )
|
if ( !(wm = PE_CreateModule( hModule32, &ofs, flags, FALSE )) )
|
||||||
{
|
{
|
||||||
ERR_(win32)("can't load %s\n",ofs.szPathName);
|
ERR_(win32)("can't load %s\n",ofs.szPathName);
|
||||||
FreeLibrary16( hModule16 );
|
FreeLibrary16( hModule16 );
|
||||||
|
|
Loading…
Reference in New Issue