summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/exports.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/exports.c')
-rw-r--r--apps/plugins/rockboy/exports.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/exports.c b/apps/plugins/rockboy/exports.c
new file mode 100644
index 0000000000..43504f4b4f
--- /dev/null
+++ b/apps/plugins/rockboy/exports.c
@@ -0,0 +1,42 @@
1
2
3#include "rockmacros.h"
4
5#include "rc.h"
6
7extern rcvar_t emu_exports[], loader_exports[],
8 lcd_exports[], rtc_exports[], sound_exports[],
9 vid_exports[], joy_exports[], pcm_exports[];
10
11
12rcvar_t *sources[] =
13{
14 emu_exports,
15 loader_exports,
16 lcd_exports,
17 rtc_exports,
18 sound_exports,
19 vid_exports,
20 joy_exports,
21 pcm_exports,
22 NULL
23};
24
25
26void init_exports(void)
27{
28 rcvar_t **s = sources;
29
30 while (*s)
31 rc_exportvars(*(s++));
32}
33
34
35void show_exports(void)
36{
37 // TODO
38 /*int i, j;
39 for (i = 0; sources[i]; i++)
40 for (j = 0; sources[i][j].name; j++)
41 printf("%s\n", sources[i][j].name);*/
42}