X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Finclude%2Fcdintf.h;h=020af47cbfa3ce1ecfc9281d9715c6133f61c0bc;hb=73ca0f1c81b606de50838deb1e464cc95a1e15cc;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=8791af3d267761a4d63f0950a2668f9a689b7167;p=virtualjaguar diff --git a/src/include/cdintf.h b/src/include/cdintf.h index e69de29..020af47 100644 --- a/src/include/cdintf.h +++ b/src/include/cdintf.h @@ -0,0 +1,22 @@ +// +// CDINTF.H: OS agnostic CDROM access funcions +// +// by James L. Hammons +// + +#ifndef __CDINTF_H__ +#define __CDINTF_H__ + +#include "types.h" + +bool CDIntfInit(void); +void CDIntfDone(void); +bool CDIntfReadBlock(uint32, uint8 *); +uint32 CDIntfGetNumSessions(void); +void CDIntfSelectDrive(uint32); +uint32 CDIntfGetCurrentDrive(void); +const uint8 * CDIntfGetDriveName(uint32); +uint8 CDIntfGetSessionInfo(uint32, uint32); +uint8 CDIntfGetTrackInfo(uint32, uint32); + +#endif // __CDINTF_H__