Make sure all 16-bit system drivers are loaded for 16-bit apps.

This commit is contained in:
Alexandre Julliard 2003-09-27 02:34:07 +00:00
parent fd47c8a647
commit 90dc6580f5
3 changed files with 6 additions and 6 deletions

View File

@ -53,9 +53,6 @@ static void process_attach(void)
#endif /* WINE_CURSES */
TTYDRV_GDI_Initialize();
/* load display.dll */
LoadLibrary16( "display" );
}

View File

@ -386,9 +386,6 @@ static void process_attach(void)
/* initialize DGA2 */
X11DRV_XF86DGA2_Init();
#endif
/* load display.dll */
LoadLibrary16( "display" );
}

View File

@ -209,6 +209,12 @@ int main( int argc, char *argv[] )
/* some programs assume mmsystem is always present */
LoadLibrary16( "mmsystem.dll" );
/* make sure system drivers are loaded */
LoadLibrary16( "comm.drv" );
LoadLibrary16( "display.drv" );
LoadLibrary16( "keyboard.drv" );
LoadLibrary16( "mouse.drv" );
if ((instance = LoadModule16( appname, &params )) < 32)
{
if (instance == 11) /* try DOS format */