Search
lxdream.org :: lxdream/src/drivers/cd_mmc.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/cd_mmc.c
changeset 1071:182cfe43c09e
prev1023:264e2fd90be8
author nkeynes
date Tue Jul 21 20:21:52 2009 +1000 (12 years ago)
permissions -rw-r--r--
last change Fix assorted -Wall warnings
file annotate diff log raw
1.1 --- a/src/drivers/cd_mmc.c Mon Jun 08 04:12:21 2009 +0000
1.2 +++ b/src/drivers/cd_mmc.c Tue Jul 21 20:21:52 2009 +1000
1.3 @@ -175,7 +175,7 @@
1.4 if( status == PKT_ERR_OK ) {
1.5 mmc_parse_toc2( disc, buf );
1.6 } else {
1.7 - if( status & 0xFF != 0x02 ) {
1.8 + if( (status & 0xFF) != 0x02 ) {
1.9 /* Sense key 2 == Not Ready (ie temporary failure). Just ignore and
1.10 * consider the drive empty for now, but warn about any other errors
1.11 * we get. */
1.12 @@ -239,4 +239,4 @@
1.13 gdrom_scsi_read_toc(disc);
1.14 }
1.15 return disc;
1.16 -}
1.17 \ No newline at end of file
1.18 +}
.