Changeset 32768


Ignore:
Timestamp:
01/29/15 14:36:59 (9 years ago)
Author:
Stephan
Message:

test fix for aspect detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/skinfunc.h

    r32655 r32768  
    239239    //  if(getaktvideosize() == 0) //videosize is ok
    240240    //  {
    241                     if(status.videosize.aspect_ratio == 0)
     241                    if(status.videosize.aspect_ratio == 1)
    242242                            tmpstr = ostrcat("oled_4_3.png", NULL, 0, 0);
    243                     else if(status.videosize.aspect_ratio == 1)
     243                    else if(status.videosize.aspect_ratio == 3 || 11)
    244244                            tmpstr = ostrcat("oled_16_9.png", NULL, 0, 0);
    245245    //  }
     
    326326
    327327        tmpstr = getaspect();
    328         if(ostrcmp(tmpstr, "4:3") == 0)
     328        if(ostrcmp(tmpstr, "4:3") == 1)
    329329        {
    330330                free(tmpstr); tmpstr = NULL;
    331331                tmpstr = ostrcat(tmpstr, "4_3.png", 1, 0);
    332332        }
    333         if(ostrcmp(tmpstr, "16:9") == 0)
     333        if(ostrcmp(tmpstr, "16:9") == 3 || 11)
    334334        {
    335335                free(tmpstr); tmpstr = NULL;
Note: See TracChangeset for help on using the changeset viewer.