X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fppf.c;h=6fcd5bc1094f837dd4eba1a87c5b417800da21f1;hp=ee32d8bb9114ee3702e7a3b3158d893a659799d3;hb=4e44d6f63e9f1af3236fbbe2f59016cd42a67d98;hpb=ab948f7e6d437dddd070000f36489d7e983eb4ad diff --git a/libpcsxcore/ppf.c b/libpcsxcore/ppf.c index ee32d8bb..6fcd5bc1 100644 --- a/libpcsxcore/ppf.c +++ b/libpcsxcore/ppf.c @@ -190,6 +190,8 @@ void BuildPPFCache() { 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]);