1
0
Fork 0

Remove the previous wait event before starting a new one.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@549
This commit is contained in:
Sjoerd van der Berg 2002-11-30 11:52:56 +00:00
parent 43801a39c2
commit 3a88d6f1f6

View file

@ -169,6 +169,7 @@ static Bitu INT15_Handler(void) {
mem_writed(BIOS_WAIT_FLAG_POINTER,RealMake(SegValue(es),reg_bx));
mem_writed(BIOS_WAIT_FLAG_COUNT,reg_cx<<16|reg_dx);
mem_writeb(BIOS_WAIT_FLAG_ACTIVE,1);
PIC_RemoveEvents(&WaitFlagEvent);
PIC_AddEvent(&WaitFlagEvent,reg_cx<<16|reg_dx);
break;
case 0x84: /* BIOS - JOYSTICK SUPPORT (XT after 11/8/82,AT,XT286,PS) */