Search
lxdream.org :: lxdream/src/gdrom/gddriver.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/gddriver.h
changeset 782:1af8b5ce627c
prev736:a02d1475ccfd
next837:4eae2ddccf9c
author nkeynes
date Wed Aug 27 06:23:19 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Fix handling of nrg images with multiple DAOX/DAOI sections
file annotate diff log raw
1.1 --- a/src/gdrom/gddriver.h Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/gdrom/gddriver.h Wed Aug 27 06:23:19 2008 +0000
1.3 @@ -203,6 +203,10 @@
1.4 */
1.5 void gdrom_image_destroy_no_close( gdrom_disc_t d );
1.6
1.7 +/**
1.8 + * Determine the track number containing the specified sector by lba.
1.9 + */
1.10 +int gdrom_image_get_track_by_lba( gdrom_image_t image, uint32_t lba );
1.11
1.12 /**
1.13 * Given a base filename (eg for a .cue file), generate the path for the given
1.14 @@ -218,6 +222,13 @@
1.15 /************* Host-native support functions ***************/
1.16
1.17 /**
1.18 + * Given a raw (2352 byte) data sector, extract the requested components into the
1.19 + * target buffer. length will also be updated with the length of the copied
1.20 + * data
1.21 + */
1.22 +void gdrom_extract_raw_data_sector( char *sector_data, int mode, unsigned char *buf, uint32_t *length );
1.23 +
1.24 +/**
1.25 * Parse a format 2 TOC, and write the results into the supplied disc structure.
1.26 */
1.27 void mmc_parse_toc2( gdrom_image_t disc, unsigned char *buf );
.