]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/cdintf_osx.cpp
Added function implementation ;-)
[virtualjaguar] / src / cdintf_osx.cpp
index 1ca290e9b6ce0f55066234e86c5f9bab95d91871..3692e7ec713d87fd753ec1a74531089fd7f9ca23 100644 (file)
@@ -1,5 +1,54 @@
 //
 // OS specific CDROM interface (Mac OS X)
 //
-// by ?
+// by James L. Hammons & ?
 //
+
+//
+// OS X 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;
+}