Changeset 32773
- Timestamp:
- 01/29/15 17:26:26 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skinfunc.h
r32770 r32773 326 326 327 327 tmpstr = getaspect(); 328 if(ostrcmp(tmpstr, "4:3") == 1) 328 329 #ifdef MIPSEL 330 if(ostrcmp(tmpstr, "4:3") == 1) 329 331 { 330 332 free(tmpstr); tmpstr = NULL; 331 333 tmpstr = ostrcat(tmpstr, "4_3.png", 1, 0); 332 334 } 333 if(ostrcmp(tmpstr, "16:9") == 3 || 11)335 if(ostrcmp(tmpstr, "16:9") == 3 || ostrcmp(tmpstr, "16:9") == 11) 334 336 { 335 337 free(tmpstr); tmpstr = NULL; 336 338 tmpstr = ostrcat(tmpstr, "16_9.png", 1, 0); 337 339 } 338 340 #else 341 if(ostrcmp(tmpstr, "4:3") == 0) 342 { 343 free(tmpstr); tmpstr = NULL; 344 tmpstr = ostrcat(tmpstr, "4_3.png", 1, 0); 345 } 346 if(ostrcmp(tmpstr, "16:9") == 1) 347 { 348 free(tmpstr); tmpstr = NULL; 349 tmpstr = ostrcat(tmpstr, "16_9.png", 1, 0); 350 } 339 351 if(path != NULL) 340 352 tmpstr = ostrcat("/", tmpstr, 0, 1); 341 353 tmpstr = ostrcat(path, tmpstr, 0, 1); 342 354 #endif 343 355 return tmpstr; 344 356 } … … 418 430 videoreadqwidth(status.aktservice->videodev); 419 431 432 #ifdef MIPSEL 420 433 // if(getaktvideosize() == 0) //videosize is ok 421 434 // { 422 435 if(status.videosize.aspect_ratio == 1) 423 436 tmpstr = ostrcat("4_3.png", NULL, 0, 0); 424 else if(status.videosize.aspect_ratio == 3 || 11)437 else if(status.videosize.aspect_ratio == 3 || status.videosize.aspect_ratio == 11) 425 438 tmpstr = ostrcat("16_9.png", NULL, 0, 0); 426 439 // } 440 441 #else 442 // if(getaktvideosize() == 0) //videosize is ok 443 // { 444 if(status.videosize.aspect_ratio == 0) 445 tmpstr = ostrcat("4_3.png", NULL, 0, 0); 446 else if(status.videosize.aspect_ratio == 1) 447 tmpstr = ostrcat("16_9.png", NULL, 0, 0); 448 // } 449 #endif 427 450 428 451 if(tmpstr == NULL) tmpstr = ostrcat("novideoasp.png", NULL, 0, 0);
Note: See TracChangeset
for help on using the changeset viewer.