Search
lxdream.org :: lxdream/src/gdrom/gdrom.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/gdrom.c
changeset 433:a4f61551d79d
prev422:61a0598e07ff
next446:def93c34c84c
author nkeynes
date Tue Oct 09 08:48:28 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/gdrom/gdrom.c Sat Oct 06 09:03:24 2007 +0000
1.2 +++ b/src/gdrom/gdrom.c Tue Oct 09 08:48:28 2007 +0000
1.3 @@ -1,6 +1,6 @@
1.4
1.5 /**
1.6 - * $Id: gdrom.c,v 1.13 2007-10-06 08:58:00 nkeynes Exp $
1.7 + * $Id: gdrom.c,v 1.14 2007-10-09 08:45:00 nkeynes Exp $
1.8 *
1.9 * GD-Rom access functions.
1.10 *
1.11 @@ -93,12 +93,14 @@
1.12 gdrom_image_dump_info( disc );
1.13 }
1.14
1.15 -gdrom_disc_t gdrom_mount_image( const gchar *filename )
1.16 +gboolean gdrom_mount_image( const gchar *filename )
1.17 {
1.18 gdrom_disc_t disc = gdrom_image_open(filename);
1.19 - if( disc != NULL )
1.20 + if( disc != NULL ) {
1.21 gdrom_mount_disc( disc );
1.22 - return disc;
1.23 + return TRUE;
1.24 + }
1.25 + return FALSE;
1.26 }
1.27
1.28 void gdrom_unmount_disc( )
.