diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amiga/amiga/cc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amiga/amiga/cc.c b/sys/arch/amiga/amiga/cc.c index 33cf96103d5..77b11e26bb6 100644 --- a/sys/arch/amiga/amiga/cc.c +++ b/sys/arch/amiga/amiga/cc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cc.c,v 1.6 1997/09/18 13:39:32 niklas Exp $ */ +/* $OpenBSD: cc.c,v 1.7 1998/03/01 16:06:00 niklas Exp $ */ /* $NetBSD: cc.c,v 1.11 1997/06/23 23:46:23 is Exp $ */ /* @@ -456,11 +456,12 @@ play_sample(len, data, period, volume, channels, count) /* check to see, whether all channels are free */ for (i=0; i < 4; i++) { - if ((1 << i) & dmabits) + if ((1 << i) & dmabits) { if (channel[i].isaudio) return; /* allocated */ else channel[i].isaudio = -1; /* allocate */ + } } custom.dmacon = dmabits; /* turn off the correct channels */ |