Commit 90dc6580 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent fd47c8a6
......@@ -53,9 +53,6 @@ static void process_attach(void)
#endif /* WINE_CURSES */
TTYDRV_GDI_Initialize();
/* load display.dll */
LoadLibrary16( "display" );
}
......
......@@ -386,9 +386,6 @@ static void process_attach(void)
/* initialize DGA2 */
X11DRV_XF86DGA2_Init();
#endif
/* load display.dll */
LoadLibrary16( "display" );
}
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment