Search
lxdream.org :: lxdream/src/aica/aica.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/aica.c
changeset 44:8da2cbcffe24
prev43:0cf3e339cc59
next61:eb7a73c9bcae
author nkeynes
date Mon Dec 26 11:52:56 2005 +0000 (14 years ago)
permissions -rw-r--r--
last change Default ARM to not-running for sanity's sake
Stop machine on UNIMP abort
file annotate diff log raw
1.1 --- a/src/aica/aica.c Mon Dec 26 11:47:15 2005 +0000
1.2 +++ b/src/aica/aica.c Mon Dec 26 11:52:56 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: aica.c,v 1.8 2005-12-26 11:47:15 nkeynes Exp $
1.6 + * $Id: aica.c,v 1.9 2005-12-26 11:52:56 nkeynes Exp $
1.7 *
1.8 * This is the core sound system (ie the bit which does the actual work)
1.9 *
1.10 @@ -67,7 +67,7 @@
1.11 {
1.12 /* Run arm instructions */
1.13 int reset = MMIO_READ( AICA2, AICA_RESET );
1.14 - if( reset & 1 == 0 ) {
1.15 + if( (reset & 1) == 0 ) {
1.16 /* Running */
1.17 nanosecs = arm_run_slice( nanosecs );
1.18 }
.