Had fflush() around MessageBeep() here (unnoted patch), but it doesn't

really seem to make a difference. I can't duplicate the bug report where
the beep comes late (and this is the fix), although I _do_ get slow
beeps with the DOS version, if I switch to DOS (rather than BIOS)
_input_. Confusing, eh?
This commit is contained in:
William McBrine
2006-10-18 23:11:41 +00:00
parent 1241bfa21f
commit ef67eed7b4

View File

@@ -13,16 +13,14 @@
#include "pdcwin.h"
RCSID("$Id: pdcutil.c,v 1.9 2006/10/15 02:42:26 wmcbrine Exp $");
RCSID("$Id: pdcutil.c,v 1.10 2006/10/18 23:11:41 wmcbrine Exp $");
void PDC_beep(void)
{
PDC_LOG(("PDC_beep() - called\n"));
fflush(stdout);
/* MessageBeep(MB_OK); */
MessageBeep(0XFFFFFFFF);
fflush(stdout);
}
void PDC_napms(int ms)