Changeset 37015


Ignore:
Timestamp:
01/31/16 18:07:46 (7 years ago)
Author:
gost
Message:

[titan] dm7020... activate skinadjust

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/mipselport.h

    r36997 r37015  
    197197        }
    198198       
    199         if(status.bcm == 1 && status.usedirectfb == 0)
    200                 bcm_accel_blit(skinfb->data_phys, skinfb->width, skinfb->height, skinfb->pitch, 0, fb->data_phys, fb->width, fb->height, fb->pitch, 0, 0, skinfb->width, skinfb->height, 0, 0, fb->width, fb->height, 0, 0);
     199        if(status.bcm == 1 && status.usedirectfb == 0)
     200        {
     201                int posx = getconfigint("fbleftoffset", NULL) * 5;
     202                int posy = getconfigint("fbtopoffset", NULL) * 5;
     203                int width = (fb->width - posx) - (getconfigint("fbrightoffset", NULL) * 5);
     204                int height = (fb->height - posy) - (getconfigint("fbbottomoffset", NULL) * 5);
     205                bcm_accel_blit(skinfb->data_phys, skinfb->width, skinfb->height, skinfb->pitch, 0, fb->data_phys, fb->width, fb->height, fb->pitch, 0, 0, skinfb->width, skinfb->height, posx, posy, width, height, 0, 0);
     206        }
    201207       
    202208/*     
Note: See TracChangeset for help on using the changeset viewer.