1
0
Fork 0

add function to manually trigger the 16bit sb IRQ (ripsaw; fixes sb16 detection for Assault Wing)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3699
This commit is contained in:
Sebastian Strohhäcker 2011-04-23 10:50:38 +00:00
parent 832f1bf0d4
commit 2375c15de2

View file

@ -982,6 +982,10 @@ static void DSP_DoCommand(void) {
case 0xf2: /* Trigger 8bit IRQ */
SB_RaiseIRQ(SB_IRQ_8);
break;
case 0xf3: /* Trigger 16bit IRQ */
DSP_SB16_ONLY;
SB_RaiseIRQ(SB_IRQ_16);
break;
case 0xf8: /* Undocumented, pre-SB16 only */
DSP_FlushData();
DSP_AddData(0);