Search
lxdream.org :: lxdream :: r1168:66e5113d4155
lxdream 0.9.1
released Jun 29
Download Now
changeset1168:66e5113d4155
parent1167:2cc6c50d0dd2
child1169:23a9613aceb1
authornkeynes
dateWed Mar 30 21:51:54 2011 +1000 (8 years ago)
Fix read sector type on OS X (oops)
src/drivers/cdrom/cd_osx.c
1.1 --- a/src/drivers/cdrom/cd_osx.c Mon Feb 14 08:12:41 2011 +1000
1.2 +++ b/src/drivers/cdrom/cd_osx.c Wed Mar 30 21:51:54 2011 +1000
1.3 @@ -162,7 +162,7 @@
1.4 dk_cd_read_t readcd;
1.5 memset( &readcd, 0, sizeof(readcd) );
1.6 readcd.buffer = buf;
1.7 - readcd.sectorType = CDROM_READ_TYPE(mode);
1.8 + readcd.sectorType = CDROM_READ_TYPE(mode) >> 2;
1.9
1.10 cdrom_track_t track = cdrom_disc_get_track_by_lba(disc,lba);
1.11 if( track == NULL ) {
.