blob: dac0d1dfc0fa1668f3692ada8450ab27fef7121d (
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
77
78
79
80
81
82
83
84
85
86
87
88
|
/*
* 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");
char *PSEgetLibName(void) {
return _(LibName);
}
unsigned long PSEgetLibType(void) {
return PSE_LT_CDR;
}
unsigned long PSEgetLibVersion(void) {
return 1 << 16;
}
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() {
}
|