fixed copypaste bug in cdlogger introduced in #310 merge
(cdl auto load were broken, an error occures while attempting to save changes to cdl window settings)
This commit is contained in:
parent
97c8c591bd
commit
56adae5e6c
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue