made filename variables const
This commit is contained in:
parent
18130b560f
commit
4c4a2764c9
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user