Add SetMediaPath() to change screenshot/gif recording directory

This commit is contained in:
Anthony Samms 2025-10-28 16:59:44 -04:00
commit 4127733677

View file

@ -1609,6 +1609,7 @@ int InitPlatform(void)
// Initialize storage system
//----------------------------------------------------------------------------
CORE.Storage.basePath = GetWorkingDirectory();
strncpy(CORE.Storage.mediaPath, CORE.Storage.basePath, MAX_FILEPATH_LENGTH - 1);
//----------------------------------------------------------------------------
#if defined(SUPPORT_DRM_CACHE)