mirror of
https://github.com/reactos/wine.git
synced 2025-02-01 09:42:14 +00:00
Make sure all 16-bit system drivers are loaded for 16-bit apps.
This commit is contained in:
parent
fd47c8a647
commit
90dc6580f5
@ -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, ¶ms )) < 32)
|
||||
{
|
||||
if (instance == 11) /* try DOS format */
|
||||
|
Loading…
x
Reference in New Issue
Block a user