X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcdintf_osx.cpp;h=7df24eae9c698bd24fb3ee779083df5dfced0812;hb=282b1426c18c54bf85e8e6a0c53205b5994c4a81;hp=1ca290e9b6ce0f55066234e86c5f9bab95d91871;hpb=8791af3d267761a4d63f0950a2668f9a689b7167;p=virtualjaguar diff --git a/src/cdintf_osx.cpp b/src/cdintf_osx.cpp index 1ca290e..7df24ea 100644 --- a/src/cdintf_osx.cpp +++ b/src/cdintf_osx.cpp @@ -1,5 +1,63 @@ // // OS specific CDROM interface (Mac OS X) // -// by ? +// by James L. Hammons & ? // + +#include "log.h" + +// +// 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; +} + +const uint8 * CDIntfGetDriveName(uint32) +{ + WriteLog("CDINTF: GetDriveName unimplemented!\n"); + return NULL; +} + +uint8 CDIntfGetSessionInfo(uint32 session, uint32 offset) +{ + WriteLog("CDINTF: GetSessionInfo unimplemented!\n"); + return 0xFF; +} + +uint8 CDIntfGetTrackInfo(uint32 track, uint32 offset) +{ + WriteLog("CDINTF: GetTrackInfo unimplemented!\n"); + return 0xFF; +}