blob: 4712b2e3ffe0e52a50e7539a38a5b8df2fe1a857 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/*
* Cdrom for Psemu Pro like Emulators
*
* By: linuzappz <linuzappz@hotmail.com>
*
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <time.h>
#include <string.h>
#ifdef ENABLE_NLS
#include <libintl.h>
#include <locale.h>
#define _(x) gettext(x)
#define N_(x) (x)
#else
#define _(x) (x)
#define N_(x) (x)
#endif
char *LibName = N_("CDR NULL Plugin");
long CDRinit(void) {
return 0;
}
long CDRshutdown(void) {
return 0;
}
long CDRopen(void) {
return 0;
}
long CDRclose(void) {
return 0;
}
long CDRgetTN(unsigned char *buffer) {
buffer[0] = 1;
buffer[1] = 1;
return 0;
}
long CDRgetTD(unsigned char track, unsigned char *buffer) {
memset(buffer + 1, 0, 3);
return 0;
}
long CDRreadTrack(unsigned char *time) {
return -1;
}
unsigned char *CDRgetBuffer(void) {
return NULL;
}
long CDRplay(unsigned char *sector) {
return 0;
}
long CDRstop(void) {
return 0;
}
long CDRconfigure() {
return 0;
}
void CDRabout() {
}
|