Simplify critical output flushing.
This commit is contained in:
parent
3eaecdd66e
commit
2ce35f6d45
|
@ -424,10 +424,9 @@ Dispatch(void)
|
||||||
while (!isItTimeToYield)
|
while (!isItTimeToYield)
|
||||||
{
|
{
|
||||||
if (*icheck[0] != *icheck[1])
|
if (*icheck[0] != *icheck[1])
|
||||||
{
|
|
||||||
ProcessInputEvents();
|
ProcessInputEvents();
|
||||||
FlushIfCriticalOutputPending();
|
|
||||||
}
|
FlushIfCriticalOutputPending();
|
||||||
#ifdef SMART_SCHEDULE
|
#ifdef SMART_SCHEDULE
|
||||||
if (!SmartScheduleDisable &&
|
if (!SmartScheduleDisable &&
|
||||||
(SmartScheduleTime - start_tick) >= SmartScheduleSlice)
|
(SmartScheduleTime - start_tick) >= SmartScheduleSlice)
|
||||||
|
@ -483,9 +482,6 @@ Dispatch(void)
|
||||||
client->errorValue, result);
|
client->errorValue, result);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#ifdef DAMAGEEXT
|
|
||||||
FlushIfCriticalOutputPending ();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
FlushAllOutput();
|
FlushAllOutput();
|
||||||
#ifdef SMART_SCHEDULE
|
#ifdef SMART_SCHEDULE
|
||||||
|
|
Loading…
Reference in New Issue