Line | |
---|
1 | #ifndef SCART_H |
---|
2 | #define SCART_H |
---|
3 | |
---|
4 | void screenscart() |
---|
5 | { |
---|
6 | int rcret = 0; |
---|
7 | char* tmpstr = NULL; |
---|
8 | |
---|
9 | tmpstr = getvideomode(); |
---|
10 | if(ostrncmp("576i", tmpstr, 4) == 0 || ostrcmp("pal", tmpstr) == 0) |
---|
11 | { |
---|
12 | textbox(_("Message"), _("Change to scart"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0); |
---|
13 | setinput("scart"); |
---|
14 | while(1) |
---|
15 | { |
---|
16 | rcret = waitrc(NULL, 0, 0); |
---|
17 | if(rcret == getrcconfigint("rcback", NULL)) |
---|
18 | { |
---|
19 | setinput("encoder"); |
---|
20 | break; |
---|
21 | } |
---|
22 | } |
---|
23 | } |
---|
24 | else |
---|
25 | textbox(_("Message"), _("Videomode must be 576i for Scart"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0); |
---|
26 | free(tmpstr); tmpstr = NULL; |
---|
27 | return; |
---|
28 | } |
---|
29 | |
---|
30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.