nonacc mode removal, function return value audit

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@510 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-07-01 14:32:09 +00:00
parent b6d7ac7090
commit 2aa27095f2
18 changed files with 67 additions and 378 deletions

View file

@ -545,14 +545,13 @@ int PicoCartInsert(unsigned char *rom,unsigned int romsize)
return 0;
}
int PicoCartUnload(void)
void PicoCartUnload(void)
{
if (Pico.rom != NULL) {
SekFinishIdleDet();
free(Pico.rom);
Pico.rom=NULL;
}
return 0;
}
static int rom_strcmp(int rom_offset, const char *s1)