aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2015-02-03 01:35:33 +0200
committernotaz2015-02-03 01:35:33 +0200
commiteed148b7fcde73477379388da58d12cd379a6a81 (patch)
tree2a02be84a7020b102a8e4e398e152663c06fe171
parent0c1151feca09186ec61485436912a3e563c40b54 (diff)
downloadpcsx_rearmed-eed148b7fcde73477379388da58d12cd379a6a81.tar.gz
pcsx_rearmed-eed148b7fcde73477379388da58d12cd379a6a81.tar.bz2
pcsx_rearmed-eed148b7fcde73477379388da58d12cd379a6a81.zip
frontend: update libpicofe
m---------frontend/libpicofe0
-rw-r--r--libpcsxcore/ppf.c4
2 files changed, 3 insertions, 1 deletions
diff --git a/frontend/libpicofe b/frontend/libpicofe
-Subproject 515ac0b9d2c4d45a465335d54b8c49830914fce
+Subproject 9fec8a91c9b19856ac0b51de53b847b38ed8dc6
diff --git a/libpcsxcore/ppf.c b/libpcsxcore/ppf.c
index 0d80107..edebdd0 100644
--- a/libpcsxcore/ppf.c
+++ b/libpcsxcore/ppf.c
@@ -347,8 +347,10 @@ int LoadSBI(const char *fname, int sector_count) {
return -1;
sbi_sectors = calloc(1, sector_count / 8);
- if (sbi_sectors == NULL)
+ if (sbi_sectors == NULL) {
+ fclose(sbihandle);
return -1;
+ }
// 4-byte SBI header
fread(buffer, 1, 4, sbihandle);