Add dummy cdrom ioctl module for other OSes
This commit is contained in:
parent
d5b7a69ff6
commit
f002abe258
3 changed files with 36 additions and 1 deletions
20
src/cdrom-ioctl-dummy.c
Normal file
20
src/cdrom-ioctl-dummy.c
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/*Dummy CD-ROM support for other OSes*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
int old_cdrom_drive;
|
||||
|
||||
void ioctl_audio_callback(int16_t *output, int len) { }
|
||||
|
||||
void ioctl_audio_stop() { }
|
||||
|
||||
void ioctl_reset() { }
|
||||
|
||||
void ioctl_set_drive(char d) { }
|
||||
|
||||
int ioctl_open(char d)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ioctl_close(void) { }
|
||||
Loading…
Reference in a new issue