error checking for png

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@451 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-05-21 19:05:55 +00:00
parent 8f7ed1b8e1
commit 7a87643e07
3 changed files with 46 additions and 7 deletions

View file

@ -224,7 +224,7 @@ int emu_cdCheck(int *pregion)
return type;
}
static int extract_text(char *dest, unsigned char *src, int len, int swab)
static int extract_text(char *dest, const unsigned char *src, int len, int swab)
{
char *p = dest;
int i;