Changeset 15252


Ignore:
Timestamp:
04/14/12 01:43:40 (10 years ago)
Author:
nit
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/sh4port.h

    r15169 r15252  
    342342{
    343343        FILE *fp;
    344         unsigned int temp1, temp2;
     344        unsigned int temp1, temp2, temp3, temp4;
    345345
    346346        if(filename == NULL) return -1;
     
    364364                return -1;
    365365        }
     366       
     367        temp3 = temp1;
     368        temp4 = temp2;
     369       
     370        if(temp3 > skinfb->width) temp3 = skinfb->width;
     371        if(temp4 > skinfb->height) temp4 = skinfb->height;
    366372               
    367373        if(decode_jpeg_noalloc(fp, temp1, temp2, temp1, temp2, (char *)*mem, 1) == LIBMMEIMG_SUCCESS)
Note: See TracChangeset for help on using the changeset viewer.