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:
		
							parent
							
								
									91d3bef3dd
								
							
						
					
					
						commit
						a5c6f014cc
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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; 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue