Changeset 37142
- Timestamp:
- 02/14/16 18:49:09 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/mipselport.h
r37129 r37142 205 205 if(status.bcm == 1 && status.usedirectfb == 0) 206 206 { 207 posx = getconfigint("fbleftoffset", NULL) * 5; 208 posy = getconfigint("fbtopoffset", NULL) * 5; 207 209 width = (fb->width - posx) - (getconfigint("fbrightoffset", NULL) * 5); 208 210 height = (fb->height - posy) - (getconfigint("fbbottomoffset", NULL) * 5); 209 posx = getconfigint("fbleftoffset", NULL) * 5;210 posy = getconfigint("fbtopoffset", NULL) * 5;211 211 } 212 212 else 213 213 { 214 posx = getconfigint("fbleftoffset", NULL); 215 posy = getconfigint("fbtopoffset", NULL); 214 216 width = (720 - posx) - (getconfigint("fbrightoffset", NULL)); 215 217 height = (576 - posy) - (getconfigint("fbbottomoffset", NULL)); 216 posx = getconfigint("fbleftoffset", NULL); 217 posy = getconfigint("fbtopoffset", NULL); 218 } 219 218 } 220 219 //printf("posx:%i posy:%i width:%i height:%i\n", posx, posy, width, height); 221 220 222 int i = 0, max = 1, wstep = 0, hstep = 0; 223 int dst_left = 0, dst_width = 0, dst_top = 0, dst_height = 0; 224 int mode3d = 0; 225 226 if(flag == 0 || checkbox("ATEMIO5200") == 1) 221 if(flag == 0 || checkbox("ATEMIO5200") == 1 || status.screenanim == 0) 227 222 { 228 223 if(status.bcm == 1 && status.usedirectfb == 0) … … 232 227 } 233 228 229 230 int i = 0, max = 1, wstep = 0, hstep = 0; 231 int dst_left = 0, dst_width = 0, dst_top = 0, dst_height = 0; 232 int mode3d = 0; 233 234 234 if(flag == 1 && status.screenanim > 0 && mode3d == 0) 235 235 { … … 271 271 dst_height = 2; 272 272 } 273 if(status.screenanim == 4 )273 if(status.screenanim == 4 || status.screenanim == 11) 274 274 { 275 275 dst_top = posy; … … 278 278 dst_width = 2; 279 279 } 280 if(status.screenanim == 5 )280 if(status.screenanim == 5 || status.screenanim == 12) 281 281 { 282 282 dst_top = posy; … … 372 372 } 373 373 else 374 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); 375 374 { 375 if(status.bcm == 1 && status.usedirectfb == 0) 376 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); 377 } 376 378 if(doblit == 1) 377 379 blit();
Note: See TracChangeset
for help on using the changeset viewer.