made filename variables const

This commit is contained in:
Matthew Owens 2023-03-06 14:41:35 +00:00
parent 18130b560f
commit 4c4a2764c9
No known key found for this signature in database
GPG Key ID: 8431780B61AAC7A9
2 changed files with 4 additions and 4 deletions

View File

@ -1589,8 +1589,8 @@ RLAPI void DetachAudioMixedProcessor(AudioCallback processor); // Detach audio s
// Event Recording & Replaying
//------------------------------------------------------------------------------------
RLAPI void BeginEventRecording(bool displayText);
RLAPI void StopEventRecording(char *fileName);
RLAPI void PlayEventRecording(char *fileName, bool displayText);
RLAPI void StopEventRecording(const char *fileName);
RLAPI void PlayEventRecording(const char *fileName, bool displayText);
#endif
#if defined(__cplusplus)

View File

@ -2133,14 +2133,14 @@ void BeginEventRecording(bool displayText)
eventsRecordingStartFrame = CORE.Time.frameCounter;
}
void StopEventRecording(char *fileName)
void StopEventRecording(const char *fileName)
{
eventsTextDrawing = false;
eventsRecording = false;
ExportAutomationEvents(fileName);
}
void PlayEventRecording(char *fileName, bool displayText)
void PlayEventRecording(const char *fileName, bool displayText)
{
eventsTextDrawing = displayText;
eventsRecording = false;