Search
lxdream.org :: lxdream/src/gdrom/linux.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/linux.c
changeset 468:3a49695e081a
prev464:8e099fad42a6
next480:d28c2992f5ee
author nkeynes
date Sun Oct 28 07:23:46 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix CDI with multiple tracks/session
Fix file being closed too early
file annotate diff log raw
1.1 --- a/src/gdrom/linux.c Sat Oct 27 05:44:54 2007 +0000
1.2 +++ b/src/gdrom/linux.c Sun Oct 28 07:23:46 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: linux.c,v 1.6 2007-10-27 05:44:54 nkeynes Exp $
1.6 + * $Id: linux.c,v 1.7 2007-10-28 07:23:46 nkeynes Exp $
1.7 *
1.8 * Linux cd-rom device driver.
1.9 *
1.10 @@ -115,7 +115,7 @@
1.11
1.12 gdrom_error_t status = linux_read_disc_toc( (gdrom_image_t)disc );
1.13 if( status != 0 ) {
1.14 - disc->close(disc);
1.15 + gdrom_image_destroy_no_close(disc);
1.16 if( status == 0xFFFF ) {
1.17 ERROR("Unable to load disc table of contents (%s)", strerror(errno));
1.18 } else {
.