FreePPFCache();
+ if (CdromId[0] == '\0') return;
+
// Generate filename in the format of SLUS_123.45
buffer[0] = toupper(CdromId[0]);
buffer[1] = toupper(CdromId[1]);
unsigned char *sbi_sectors;
int LoadSBI(const char *fname, int sector_count) {
- char buffer[16], sbifile[MAXPATHLEN];
+ char buffer[16];
FILE *sbihandle;
u8 sbitime[3];
int s;
if (sbihandle == NULL)
return -1;
-if (sbi_sectors != NULL) printf("sbi_sectors?\n");
sbi_sectors = calloc(1, sector_count / 8);
if (sbi_sectors == NULL)
return -1;