Search
lxdream.org :: lxdream/src/gdrom/cdi.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/cdi.c
changeset 644:ccae4bfa5f82
prev561:533f6b478071
next678:35eb00945316
author nkeynes
date Sun Mar 02 11:38:08 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Bug #59: Add provisional support for all CD read modes (not validated)
file annotate diff log raw
1.1 --- a/src/gdrom/cdi.c Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/gdrom/cdi.c Sun Mar 02 11:38:08 2008 +0000
1.3 @@ -171,11 +171,11 @@
1.4 image->track[total_tracks].flags = 0x41;
1.5 switch( trk.sector_size ) {
1.6 case 0:
1.7 - image->track[total_tracks].mode = GDROM_MODE2_XA1;
1.8 + image->track[total_tracks].mode = GDROM_MODE2_FORM1;
1.9 image->track[total_tracks].sector_size = 2048;
1.10 break;
1.11 case 1:
1.12 - image->track[total_tracks].mode = GDROM_MODE2;
1.13 + image->track[total_tracks].mode = GDROM_SEMIRAW_MODE2;
1.14 image->track[total_tracks].sector_size = 2336;
1.15 break;
1.16 case 2:
.