source: titan/titan/scart.h @ 10958

Last change on this file since 10958 was 10503, checked in by nit, 13 years ago

fix

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