Merge branch 'master' of github.com:TASVideos/fceux

This commit is contained in:
mjbudd77 2021-02-11 20:48:17 -05:00
commit 97990b671a
1 changed files with 3 additions and 3 deletions

View File

@ -288,8 +288,8 @@ void SaveCDLogFile()
if (loadedcdfile[0] == 0)
{
char nameo[2048];
strcpy(nameo, GetRomName().c_str());
strcat(nameo, mass_replace(GetRomPath(), "|", ".").c_str());
strcpy(nameo, GetRomPath().c_str());
strcat(nameo, mass_replace(GetRomName(), "|", ".").c_str());
strcat(nameo, ".cdl");
RenameCDLog(nameo);
}
@ -499,7 +499,7 @@ void CDLoggerROMChanged()
// try to load respective CDL file
char nameo[2048];
strcpy(nameo, GetRomName().c_str());
strcpy(nameo, GetRomPath().c_str());
strcat(nameo, mass_replace(GetRomName(), "|", ".").c_str());
strcat(nameo, ".cdl");