From 4edc1da6883b5765cf2951d30774464155cd585e Mon Sep 17 00:00:00 2001 From: NightlyFox Date: Sat, 29 Sep 2018 06:31:34 -0500 Subject: [PATCH] changed flag to accurate, it now loades all icons correctly --- common/menu-entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/menu-entry.c b/common/menu-entry.c index 52f1f52..40f2e7b 100644 --- a/common/menu-entry.c +++ b/common/menu-entry.c @@ -334,7 +334,7 @@ void menuEntryParseIcon(menuEntry_s* me) { if (w != 256 || h != 256 ) return; //The decoded image must be 256x256. - if(tjDecompress2(_jpegDecompressor, me->icon, me->icon_size, imageptr, w, 0/*pitch*/, h, TJPF_RGB, TJFLAG_FASTDCT)==-1)//The decoded image must be RGB + if(tjDecompress2(_jpegDecompressor, me->icon, me->icon_size, imageptr, w, 0/*pitch*/, h, TJPF_RGB, TJFLAG_ACCURATEDCT)==-1)//The decoded image must be RGB return; me->icon_size = 0;