From 018e3cc67bbc6d405c86ee2d420d63dbc3962ecf Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 24 Jun 2003 02:24:54 +0000 Subject: [PATCH] Expose part of DOSVM_SendQueuedEvents() also for platforms without MZ_SUPPORTED. --- dlls/winedos/dosvm.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dlls/winedos/dosvm.c b/dlls/winedos/dosvm.c index c19071748e9..eace5ccceae 100644 --- a/dlls/winedos/dosvm.c +++ b/dlls/winedos/dosvm.c @@ -61,8 +61,6 @@ WINE_DECLARE_DEBUG_CHANNEL(relay); WORD DOSVM_psp = 0; WORD DOSVM_retval = 0; -#ifdef MZ_SUPPORTED - #ifdef HAVE_SYS_VM86_H # include #endif @@ -220,6 +218,8 @@ void DOSVM_SendQueuedEvents( CONTEXT86 *context ) NtCurrentTeb()->vm86_pending = 0; } +#ifdef MZ_SUPPORTED + if (!ISV86(context) && context->SegCs == old_cs && context->Eip == old_ip) { /* @@ -241,10 +241,17 @@ void DOSVM_SendQueuedEvents( CONTEXT86 *context ) NtCurrentTeb()->vm86_pending |= VIP_MASK; } +#else + + FIXME("No DOS .exe file support on this platform (yet)\n"); + +#endif /* MZ_SUPPORTED */ + LeaveCriticalSection(&qcrit); } +#ifdef MZ_SUPPORTED /*********************************************************************** * QueueEvent (WINEDOS.@) */ @@ -648,7 +655,7 @@ void WINAPI DOSVM_QueueEvent( INT irq, INT priority, DOSRELAY relay, LPVOID data } } -#endif +#endif /* MZ_SUPPORTED */ /**********************************************************************