mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 22:47:44 -04:00
tweaking pandora frontend
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@874 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
0c9ae59222
commit
f6eaae4f09
16 changed files with 378 additions and 144 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue