File: dc_cd.cpp

package info (click to toggle)
wolf4sdl 1.7+svn262+dfsg1-5
  • links: PTS, VCS
  • area: contrib
  • in suites: bullseye, buster, sid
  • size: 4,112 kB
  • sloc: cpp: 34,696; ansic: 1,257; objc: 246; makefile: 159; sh: 44
file content (16 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Wolf4SDL\DC
//dc_cd.cpp
//2009 - Cyle Terry

#if defined(_arch_dreamcast)

#include "dc/cdrom.h"

int DC_CheckDrive() {
    int disc_status;
    int disc_type;
    cdrom_get_status(&disc_status, &disc_type);
    return disc_status;
}

#endif