From 0778fdadeaa425c691d976f5007919c54da9ab32 Mon Sep 17 00:00:00 2001 From: Antonis Geralis <43617260+planetis-m@users.noreply.github.com> Date: Fri, 22 Dec 2023 15:30:39 +0200 Subject: [PATCH] Fix mistake --- examples/core/core_automation_events.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/core/core_automation_events.c b/examples/core/core_automation_events.c index efbba59e7..319b013ba 100644 --- a/examples/core/core_automation_events.c +++ b/examples/core/core_automation_events.c @@ -71,7 +71,7 @@ int main(void) // Automation events AutomationEventList aelist = LoadAutomationEventList(0); // Initialize list of automation events to record new events - SetAutomationEventList(aelist); + SetAutomationEventList(&aelist); bool eventRecording = false; bool eventPlaying = false; @@ -98,7 +98,7 @@ int main(void) // Supports loading .rgs style files (text or binary) and .png style palette images if (IsFileExtension(droppedFiles.paths[0], ".txt;.rae")) { - UnloadAutomationEventList(&aelist); + UnloadAutomationEventList(aelist); aelist = LoadAutomationEventList(droppedFiles.paths[0]); eventRecording = false;