Changeset 37144
- Timestamp:
- 02/14/16 20:57:52 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/mipselport.h
r37142 r37144 342 342 else 343 343 { 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); 346 346 int dsleft = skinfb->width - dswidth; 347 347 int dstop = skinfb->height - dsheight; 348 if(status.screenanim == 11) 349 dstop = 0; 350 if(status.screenanim == 12) 351 dsleft = 0; 348 352 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); 349 353 }
Note: See TracChangeset
for help on using the changeset viewer.