Work on mode1 reading. Remove some of the bogusity in cdio.c and bincue.c

win2, now works!
This commit is contained in:
rocky
2004-03-05 04:23:52 +00:00
parent 3ec145f777
commit 98b9f3719c
6 changed files with 229 additions and 52 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: _cdio_win32.h,v 1.3 2004/02/05 03:02:16 rocky Exp $
$Id: _cdio_win32.h,v 1.4 2004/03/05 04:23:52 rocky Exp $
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
@@ -60,6 +60,14 @@ int
win32ioctl_read_mode2_sector (_img_private_t *env, void *data, lsn_t lsn,
bool mode2_form2);
/*!
Reads a single mode1 sector using the DeviceIoControl method into
data starting from lsn. Returns 0 if no error.
*/
int
win32ioctl_read_mode1_sector (_img_private_t *env, void *data, lsn_t lsn,
bool mode2_form2);
const char *win32ioctl_is_cdrom(const char drive_letter);
/*!