tweaking pandora frontend

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@874 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-05-31 22:12:46 +00:00
parent 03065bb617
commit be672de78d
16 changed files with 378 additions and 144 deletions

View file

@ -107,7 +107,7 @@ static HBITMAP png2hb(const char *fname, int is_480)
bmem = calloc(1, is_480 ? 480*240*3 : 320*240*3);
if (bmem == NULL) return NULL;
ret = readpng(bmem, fname, is_480 ? READPNG_480_24 : READPNG_320_24);
ret = readpng(bmem, fname, READPNG_24, is_480 ? 480 : 320, 240);
if (ret != 0) {
free(bmem);
return NULL;