Add SetMediaPath() to change screenshot/gif recording directory
This commit is contained in:
parent
f106301d46
commit
4127733677
1 changed files with 18 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue