diff options
Diffstat (limited to 'libpcsxcore/ppf.c')
-rw-r--r-- | libpcsxcore/ppf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpcsxcore/ppf.c b/libpcsxcore/ppf.c index ee32d8b..6fcd5bc 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]); |