From: Amancio Hasty Jr <hasty@netcom.com>

Make sure calls to gus_voice_irq() are protected from interrupts.
This commit is contained in:
Jordan K. Hubbard 1993-10-24 19:38:06 +00:00
parent 73b69d9921
commit 92f1946205

View File

@ -149,6 +149,7 @@ void
gusintr (int unit)
{
unsigned char src;
unsigned long flags;
while (1)
{
@ -175,7 +176,9 @@ gusintr (int unit)
if (src & (WAVETABLE_IRQ | ENVELOPE_IRQ))
{
DISABLE_INTR (flags);
gus_voice_irq ();
RESTORE_INTR (flags);
}
}
}