]> Shamusworld >> Repos - virtualjaguar/blob - src/cdintf_osx.cpp
Changed to allow no sound system init
[virtualjaguar] / src / cdintf_osx.cpp
1 //
2 // OS specific CDROM interface (Mac OS X)
3 //
4 // by James L. Hammons & ?
5 //
6
7 #include "log.h"
8
9 //
10 // OS X support functions
11 // OS specific implementation of OS agnostic functions
12 //
13
14 bool CDIntfInit(void)
15 {
16         WriteLog("CDINTF: Init unimplemented!\n");
17         return false;
18 }
19
20 void CDIntfDone(void)
21 {
22 }
23
24 bool CDIntfReadBlock(uint32 sector, uint8 * buffer)
25 {
26         WriteLog("CDINTF: ReadBlock unimplemented!\n");
27         return false;
28 }
29
30 uint32 CDIntfGetNumSessions(void)
31 {
32         // Still need relevant code here... !!! FIX !!!
33         return 2;
34 }
35
36 void CDIntfSelectDrive(uint32 driveNum)
37 {
38         WriteLog("CDINTF: SelectDrive unimplemented!\n");
39 }
40
41 uint32 CDIntfGetCurrentDrive(void)
42 {
43         WriteLog("CDINTF: GetCurrentDrive unimplemented!\n");
44         return 0;
45 }
46
47 const uint8 * CDIntfGetDriveName(uint32)
48 {
49         WriteLog("CDINTF: GetDriveName unimplemented!\n");
50         return NULL;
51 }
52
53 uint8 CDIntfGetSessionInfo(uint32 session, uint32 offset)
54 {
55         WriteLog("CDINTF: GetSessionInfo unimplemented!\n");
56         return 0xFF;
57 }
58
59 uint8 CDIntfGetTrackInfo(uint32 track, uint32 offset)
60 {
61         WriteLog("CDINTF: GetTrackInfo unimplemented!\n");
62         return 0xFF;
63 }