mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
1.35a psp bugfix release
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@300 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
aefb65bc6a
commit
c6196c0f01
14 changed files with 72 additions and 34 deletions
|
@ -257,7 +257,7 @@ int PicoCartLoad(pm_file *f,unsigned char **prom,unsigned int *psize)
|
|||
// Allocate space for the rom plus padding
|
||||
rom=PicoCartAlloc(size);
|
||||
if (rom==NULL) {
|
||||
printf("out of memory (wanted %i)\n", size);
|
||||
elprintf(EL_STATUS, "out of memory (wanted %i)", size);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -281,7 +281,7 @@ int PicoCartLoad(pm_file *f,unsigned char **prom,unsigned int *psize)
|
|||
else
|
||||
bytes_read = pm_read(rom,size,f); // Load up the rom
|
||||
if (bytes_read <= 0) {
|
||||
printf("read failed\n");
|
||||
elprintf(EL_STATUS, "read failed");
|
||||
free(rom);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue