From 9464bad500672f750e149c243d8bfe1728bad923 Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Tue, 9 Jun 2020 15:12:19 +0200 Subject: [PATCH] ac97: Allow more than 4 bus-masters --- hw/audio/ac97.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/audio/ac97.c b/hw/audio/ac97.c index ffd8607ba6..bfe1c2555e 100644 --- a/hw/audio/ac97.c +++ b/hw/audio/ac97.c @@ -174,7 +174,7 @@ enum { CAS = 0x34 }; -#define GET_BM(index) (((index) >> 4) & 3) +#define GET_BM(index) (((index) >> 4) & 7) static void po_callback (void *opaque, int free); static void pi_callback (void *opaque, int avail);