Changeset 41519


Ignore:
Timestamp:
12/27/17 19:51:40 (5 years ago)
Author:
gost
Message:

[titan] hd51.. fix osd adjust

Location:
titan/titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/mipselport.h

    r41028 r41519  
    15881588}
    15891589
     1590void setfbosdnull()
     1591{
     1592        char* fbleftdev = "/proc/stb/fb/dst_left";
     1593        char* fbwidthdev = "/proc/stb/fb/dst_width";
     1594        char* fbtopdev = "/proc/stb/fb/dst_top";
     1595        char* fbheightdev = "/proc/stb/fb/dst_height";
     1596        char* fbapplydev = "/proc/stb/fb/dst_apply";
     1597        setfbosddev(fbleftdev, 0);
     1598        setfbosddev(fbwidthdev, 720);
     1599        setfbosddev(fbtopdev, 0);
     1600        setfbosddev(fbheightdev, 576);
     1601        setfbosddev(fbapplydev, 0);
     1602}
    15901603
    15911604void setfbosd()
  • titan/titan/skinadjust.h

    r40455 r41519  
    567567                status.bottomoffset = getconfigint("fbbottomoffset", NULL);
    568568
    569                 if(offsetchange == 1 && (ostrcmp(getconfig("av_mode3d", NULL), "sbs") == 0 || ostrcmp(getconfig("av_mode3d", NULL), "tab") == 0)) clearfball();
    570 
     569                if(offsetchange == 1)
     570                {
     571                        if(getconfig("av_mode3d", NULL) != NULL)
     572                        {
     573                                if(ostrcmp(getconfig("av_mode3d", NULL), "sbs") == 0 || ostrcmp(getconfig("av_mode3d", NULL), "tab") == 0) clearfball();
     574                        }
     575                        else
     576                        {
     577                                clearfball();
     578                        }
     579                }
    571580                drawscreen(skinadjust, 0, 0);
    572581
  • titan/titan/titan.c

    r41391 r41519  
    802802        if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("VUSOLO2") == 0 && checkbox("DM900") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
    803803                setfbosd();
     804        if(checkbox("HD51") ==1)
     805                setfbosdnull();
    804806        status.usedirectfb = 1;
    805807#endif
Note: See TracChangeset for help on using the changeset viewer.