From bb08ac2f15bc83d9e601965a373a065eab94dcf6 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Wed, 11 Oct 2017 07:58:56 +0300 Subject: [PATCH] Fix --- fbgrab-1.3/fbgrab.c | 4 ++-- retroarch.hmod/bin/fbgrab | Bin 31652 -> 31652 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fbgrab-1.3/fbgrab.c b/fbgrab-1.3/fbgrab.c index 445f4c4..ebcaa37 100644 --- a/fbgrab-1.3/fbgrab.c +++ b/fbgrab-1.3/fbgrab.c @@ -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); } } @@ -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: diff --git a/retroarch.hmod/bin/fbgrab b/retroarch.hmod/bin/fbgrab index dbb0a3e07e6765dedc1b16909000e07d478f72ab..5e1d1c6000075126cd47db934db26dad776c5579 100755 GIT binary patch delta 50 zcmV-20L}lT_W`8$0kEI}6oK^%#WFaTa;_busaJ+&sdQE8BeS#t92o%(v(Xw=0|H|F IvnU>XT|n#=0ssI2 delta 50 zcmV-20L}lT_W`8$0kEI}6eAjibTWlcdoWT{=dd=0_6iB;=d-i{92o)4v(Xw=0|Fxb IvnU>XT_MC2sQ>@~