X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcdintf.cpp;h=1cf2ee2e2d728d9eadc9a103e999a08f67ab5674;hb=a0fe543d62fa18a83c2c7d99d483ab5ea0f321b4;hp=45b6be2eac3aecfa510dfa2f05c1e10789be3653;hpb=10d7ab1fb217c01030a0b637f9a571c1faf61ede;p=virtualjaguar diff --git a/src/cdintf.cpp b/src/cdintf.cpp index 45b6be2..1cf2ee2 100644 --- a/src/cdintf.cpp +++ b/src/cdintf.cpp @@ -7,7 +7,7 @@ // JLH = James Hammons // // Who When What -// --- ---------- ------------------------------------------------------------- +// --- ---------- ------------------------------------------------------------ // JLH 01/16/2010 Created this log ;-) // @@ -59,6 +59,7 @@ static void TestCDIO(void) static CdIo_t * cdioPtr = NULL; #endif + bool CDIntfInit(void) { #ifdef HAVE_LIB_CDIO @@ -78,6 +79,7 @@ bool CDIntfInit(void) #endif } + void CDIntfDone(void) { WriteLog("CDINTF: Shutting down CD-ROM subsystem.\n"); @@ -88,6 +90,7 @@ void CDIntfDone(void) #endif } + bool CDIntfReadBlock(uint32_t sector, uint8_t * buffer) { #warning "!!! FIX !!! CDIntfReadBlock not implemented!" @@ -96,6 +99,7 @@ bool CDIntfReadBlock(uint32_t sector, uint8_t * buffer) return false; } + uint32_t CDIntfGetNumSessions(void) { #warning "!!! FIX !!! CDIntfGetNumSessions not implemented!" @@ -104,6 +108,7 @@ uint32_t CDIntfGetNumSessions(void) return 2; } + void CDIntfSelectDrive(uint32_t driveNum) { #warning "!!! FIX !!! CDIntfSelectDrive not implemented!" @@ -111,6 +116,7 @@ void CDIntfSelectDrive(uint32_t driveNum) WriteLog("CDINTF: SelectDrive unimplemented!\n"); } + uint32_t CDIntfGetCurrentDrive(void) { #warning "!!! FIX !!! CDIntfGetCurrentDrive not implemented!" @@ -119,6 +125,7 @@ uint32_t CDIntfGetCurrentDrive(void) return 0; } + const uint8_t * CDIntfGetDriveName(uint32_t driveNum) { #warning "!!! FIX !!! CDIntfGetDriveName driveNum is currently ignored!" @@ -134,6 +141,7 @@ const uint8_t * CDIntfGetDriveName(uint32_t driveNum) #endif } + uint8_t CDIntfGetSessionInfo(uint32_t session, uint32_t offset) { #warning "!!! FIX !!! CDIntfGetSessionInfo not implemented!" @@ -142,6 +150,7 @@ uint8_t CDIntfGetSessionInfo(uint32_t session, uint32_t offset) return 0xFF; } + uint8_t CDIntfGetTrackInfo(uint32_t track, uint32_t offset) { #warning "!!! FIX !!! CDIntfTrackInfo not implemented!" @@ -149,3 +158,4 @@ uint8_t CDIntfGetTrackInfo(uint32_t track, uint32_t offset) WriteLog("CDINTF: GetTrackInfo unimplemented!\n"); return 0xFF; } +