X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fppf.c;h=6fcd5bc1094f837dd4eba1a87c5b417800da21f1;hb=65092fd8a8191ea66f980cbed9310ebdb5a13dcc;hp=ee32d8bb9114ee3702e7a3b3158d893a659799d3;hpb=ab948f7e6d437dddd070000f36489d7e983eb4ad;p=pcsx_rearmed.git 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]);