Slight tweak to CDL auto save logic.

This commit is contained in:
mjbudd77 2021-05-29 15:19:28 -04:00
parent 1c15c829d4
commit b58d4f903c
1 changed files with 2 additions and 2 deletions

View File

@ -888,6 +888,8 @@ void CDLoggerROMClosed(void)
{ {
//printf("Auto Saving CDL\n"); //printf("Auto Saving CDL\n");
SaveCDLogFile(); SaveCDLogFile();
autoSaveArmedCDL = false;
} }
} }
//---------------------------------------------------- //----------------------------------------------------
@ -931,8 +933,6 @@ void RenameCDLog(const char *newName)
//---------------------------------------------------- //----------------------------------------------------
void SaveCDLogFile(void) void SaveCDLogFile(void)
{ {
autoSaveArmedCDL = false;
if (loadedcdfile[0] == 0) if (loadedcdfile[0] == 0)
{ {
char nameo[1024]; char nameo[1024];