Ignore:
Timestamp:
02/12/16 20:43:47 (7 years ago)
Author:
gost
Message:

[titan] fix animatio position

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/mipselport.h

    r37104 r37116  
    198198        }
    199199       
    200         int posx = getconfigint("fbleftoffset", NULL) * 5;
    201         int posy = getconfigint("fbtopoffset", NULL) * 5;
     200        int posx = 0;
     201        int posy = 0;
    202202        int width = 0;
    203203        int height = 0;
     
    207207                width = (fb->width - posx) - (getconfigint("fbrightoffset", NULL) * 5);
    208208                height = (fb->height - posy) - (getconfigint("fbbottomoffset", NULL) * 5);
     209                posx = getconfigint("fbleftoffset", NULL) * 5;
     210                posy = getconfigint("fbtopoffset", NULL) * 5;
    209211        }
    210212        else
     
    212214                width = (720 - posx) - (getconfigint("fbrightoffset", NULL));
    213215                height = (576 - posy) - (getconfigint("fbbottomoffset", NULL));
     216                posx = getconfigint("fbleftoffset", NULL);
     217                posy = getconfigint("fbtopoffset", NULL);
    214218        }
    215219       
     
    281285                       
    282286                        if((dst_width + dst_left) > width)
    283                                 dst_left = dst_left - 1;
    284                        
     287                                dst_width = dst_width - dst_left;
     288                                                       
    285289                        if((dst_height + dst_top) > height)
    286                                 dst_height = dst_height - 1;
    287                                
     290                                dst_height = dst_height - dst_top;
     291                                                               
    288292                        if(status.screenanim > 0) usleep(status.screenanimspeed * 1000);
    289293                       
Note: See TracChangeset for help on using the changeset viewer.