]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/cdintf.cpp
Added Memory Track support. One small step towards full CD-ROM support.
[virtualjaguar] / src / cdintf.cpp
index 45b6be2eac3aecfa510dfa2f05c1e10789be3653..1cf2ee2e2d728d9eadc9a103e999a08f67ab5674 100644 (file)
@@ -7,7 +7,7 @@
 // JLH = James Hammons <jlhamm@acm.org>
 //
 // 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;
 }
+