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