Changeset 37129
- Timestamp:
- 02/13/16 18:41:31 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/mipselport.h
r37126 r37129 313 313 dst_height = tmpheight; 314 314 } 315 if(status.screenanim == 4 )315 if(status.screenanim == 4 || status.screenanim == 11) 316 316 { 317 317 int tmpwidth = dst_width + wstep; … … 320 320 dst_width = tmpwidth; 321 321 } 322 if(status.screenanim == 5 )322 if(status.screenanim == 5 || status.screenanim == 12) 323 323 { 324 324 int tmpheight = dst_height + hstep; … … 337 337 //waitvsync(); 338 338 if(status.bcm == 1 && status.usedirectfb == 0) 339 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, dst_left, dst_top, dst_width, dst_height, 0, 0); 339 { 340 if(status.screenanim < 10) 341 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, dst_left, dst_top, dst_width, dst_height, 0, 0); 342 else 343 { 344 int dswidth = dst_width * skinfb->width / width; 345 int dsheight = dst_height * skinfb->height / height; 346 int dsleft = skinfb->width - dswidth; 347 int dstop = skinfb->height - dsheight; 348 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 } 350 } 340 351 else 341 352 {
Note: See TracChangeset
for help on using the changeset viewer.