]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/cdintf_linux.cpp
Added function implementation ;-)
[virtualjaguar] / src / cdintf_linux.cpp
index c418df592e0533d3b2550b3f44dde9939e14eeb3..eeeec30543624a260455e58f8b2df1686aaa815f 100644 (file)
@@ -3,3 +3,52 @@
 //
 // by James L. Hammons
 //
+
+//
+// Linux support functions
+//
+
+
+
+//
+// OS specific implementation of OS agnostic functions
+//
+
+bool CDIntfInit(void)
+{
+       WriteLog("CDINTF: Init unimplemented!\n");
+       return false;
+}
+
+void CDIntfDone(void)
+{
+}
+
+bool CDIntfReadBlock(uint32 sector, uint8 * buffer)
+{
+       WriteLog("CDINTF: ReadBlock unimplemented!\n");
+       return false;
+}
+
+uint32 CDIntfGetNumSessions(void)
+{
+       // Still need relevant code here... !!! FIX !!!
+       return 2;
+}
+
+void CDIntfSelectDrive(uint32 driveNum)
+{
+       WriteLog("CDINTF: SelectDrive unimplemented!\n");
+}
+
+uint32 CDIntfGetCurrentDrive(void)
+{
+       WriteLog("CDINTF: GetCurrentDrive unimplemented!\n");
+       return 0;
+}
+
+uint8 * CDIntfGetDriveName(uint32)
+{
+       WriteLog("CDINTF: GetDriveName unimplemented!\n");
+       return NULL;
+}