Review tracelogs

This commit is contained in:
Ray 2022-01-03 20:45:19 +01:00
parent 744bbd12a7
commit 62858e11f7
2 changed files with 5 additions and 2 deletions

View file

@ -985,6 +985,9 @@ bool ExportWaveAsCode(Wave wave, const char *fileName)
success = SaveFileText(fileName, txtData);
RL_FREE(txtData);
if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Wave as code exported successfully", fileName);
else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export wave as code", fileName);
return success;
}