Search
lxdream.org :: lxdream/src/drivers/cdrom/cd_cdi.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/cdrom/cd_cdi.c
changeset 1109:700c5ab26a63
prev1097:d4807997e450
next1180:f2b9f4ef1987
author nkeynes
date Thu Jun 10 22:13:16 2010 +1000 (12 years ago)
permissions -rw-r--r--
last change Integrate executable wrapping into the user interface
- command-line now loads wrapped by default, -e <bin> to run binary
- add support for .bin executables
- Add useful (internal) error codes
file annotate diff log raw
1.1 --- a/src/drivers/cdrom/cd_cdi.c Sun Jan 31 18:35:06 2010 +1000
1.2 +++ b/src/drivers/cdrom/cd_cdi.c Thu Jun 10 22:13:16 2010 +1000
1.3 @@ -73,7 +73,7 @@
1.4 trail.cdi_version == CDI_V35_ID;
1.5 }
1.6
1.7 -#define RETURN_PARSE_ERROR( ... ) do { SET_ERROR(err, EINVAL, __VA_ARGS__); return FALSE; } while(0)
1.8 +#define RETURN_PARSE_ERROR( ... ) do { SET_ERROR(err, LX_ERR_FILE_INVALID, __VA_ARGS__); return FALSE; } while(0)
1.9
1.10 static gboolean cdi_image_read_toc( cdrom_disc_t disc, ERROR *err )
1.11 {
.