6 extern rcvar_t rcfile_exports
[], emu_exports
[], loader_exports
[],
7 lcd_exports
[], rtc_exports
[], debug_exports
[], sound_exports
[],
8 vid_exports
[], joy_exports
[], pcm_exports
[], menu_exports
[];
30 rcvar_t
**s
= sources
;
33 rc_exportvars(*(s
++));
40 char value
[256], tbuf
[16], *v
;
42 for (i
= 0; sources
[i
]; i
++)
43 for (j
= 0; sources
[i
][j
].name
; j
++) {
45 sprintf(tbuf
, "%-4s", rc_type_to_string(sources
[i
][j
].type
));
46 switch (sources
[i
][j
].type
) {
49 sprintf(value
, "%d", rc_getint(sources
[i
][j
].name
));
52 v
= rc_getstr(sources
[i
][j
].name
);
56 sprintf(tbuf
+3, "%d", sources
[i
][j
].len
);
57 vec
= rc_getvec(sources
[i
][j
].name
);
59 for (n
= 0; n
< sources
[i
][j
].len
; ++n
) {
61 v
+= sprintf(v
, "0x%x ", *(vec
++));
63 v
+= sprintf(v
, "%d ", *(vec
++));
69 printf("%-11s %-35s %-4s %-8s\n",
71 sources
[i
][j
].help
[0] == 0 ? "-" : sources
[i
][j
].help
,