Changeset 37144


Ignore:
Timestamp:
02/14/16 20:57:52 (7 years ago)
Author:
gost
Message:

[titan] mipsel.. dm7020 fix animatin slide

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/mipselport.h

    r37142 r37144  
    342342                                else
    343343                                {
    344                                         int dswidth = dst_width * skinfb->width / width;
    345                                         int dsheight = dst_height * skinfb->height / height;
     344                                        int dswidth = (dst_width + posx*2) * skinfb->width / (width + posx*2);
     345                                        int dsheight = (dst_height + posy*2) * skinfb->height / (height + posy*2);
    346346                                        int dsleft = skinfb->width - dswidth;
    347347                                        int dstop = skinfb->height - dsheight;
     348                                        if(status.screenanim == 11)
     349                                                dstop = 0;
     350                                        if(status.screenanim == 12)
     351                                                dsleft = 0;
    348352                                        bcm_accel_blit(skinfb->data_phys, skinfb->width, skinfb->height, skinfb->pitch, 0, fb->data_phys, fb->width, fb->height, fb->pitch, dsleft, dstop, dswidth, dsheight, dst_left, dst_top, dst_width, dst_height, 0, 0);
    349353                                }       
Note: See TracChangeset for help on using the changeset viewer.