mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
tweaking pandora frontend
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@874 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
03065bb617
commit
be672de78d
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