Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ClusterM committed Oct 11, 2017
1 parent 970cf2d commit bb08ac2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fbgrab-1.3/fbgrab.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static void convert8888to32_crop_auto(int width, int height, int* outWidth, int*
if (*outWidth <= 2 || *outHeight <= 2)
{
fprintf(stderr, "invalid size, trying other cropping mode\n");
convert8888to32_crop_auto(width, height, outWidth, outHeight, inbuffer, outbuffer);
convert8888to32_crop(width, height, outWidth, outHeight, inbuffer, outbuffer);
}
}

Expand Down Expand Up @@ -481,7 +481,7 @@ static void convert_and_write(unsigned char *inbuffer, char *filename,
break;
case 32:
// convert8888to32(width, height, inbuffer, outbuffer);
convert8888to32_crop_auto(width, height, &outWidth, &outHeight, inbuffer, outbuffer);
convert8888to32_crop(width, height, &outWidth, &outHeight, inbuffer, outbuffer);
write_PNG(outbuffer, filename, outWidth, outHeight, interlace, compression);
break;
default:
Expand Down
Binary file modified retroarch.hmod/bin/fbgrab
Binary file not shown.

0 comments on commit bb08ac2

Please sign in to comment.