1
0
Fork 0

Add small delay when raising IRQ, fixes Llamatron 2012 and Lemmings 3D.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3845
This commit is contained in:
Peter Veenstra 2013-11-11 12:59:54 +00:00
parent 91d3bef3dd
commit a5c6f014cc

View file

@ -984,7 +984,8 @@ static void DSP_DoCommand(void) {
DSP_AddData(sb.dsp.test_register);;
break;
case 0xf2: /* Trigger 8bit IRQ */
SB_RaiseIRQ(SB_IRQ_8);
//Small delay in order to emulate the slowness of the DSP, fixes Llamatron 2012 and Lemmings 3D
PIC_AddEvent(&DSP_RaiseIRQEvent,0.01f);
break;
case 0xf3: /* Trigger 16bit IRQ */
DSP_SB16_ONLY;