From 749dfb717c22799b9ce580dd9141c5299ae055ff Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 8 May 2004 14:14:03 +0000 Subject: [PATCH] A better guess when we don't know for sure. --- lib/MSWindows/win32.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/MSWindows/win32.c b/lib/MSWindows/win32.c index b1ae1b75..2b90ff67 100644 --- a/lib/MSWindows/win32.c +++ b/lib/MSWindows/win32.c @@ -1,5 +1,5 @@ /* - $Id: win32.c,v 1.12 2004/05/06 04:01:52 rocky Exp $ + $Id: win32.c,v 1.13 2004/05/08 14:14:03 rocky Exp $ Copyright (C) 2003, 2004 Rocky Bernstein @@ -26,7 +26,7 @@ # include "config.h" #endif -static const char _rcsid[] = "$Id: win32.c,v 1.12 2004/05/06 04:01:52 rocky Exp $"; +static const char _rcsid[] = "$Id: win32.c,v 1.13 2004/05/08 14:14:03 rocky Exp $"; #include #include @@ -112,7 +112,9 @@ _cdio_get_drive_cap (const void *env) { const _img_private_t *_obj = env; if (_obj->hASPI) { - return CDIO_DRIVE_CAP_UNKNOWN; + /* A safe guess */ + return CDIO_DRIVE_CAP_UNKNOWN | CDIO_DRIVE_CAP_CD_AUDIO + | CDIO_DRIVE_CAP_CD_R ; } else { return win32ioctl_get_drive_cap (env); }