mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
tests: fix love.filesystem mounting
This commit is contained in:
@@ -232,6 +232,8 @@ bool Filesystem::setIdentity(const char *ident, bool appendToPath)
|
||||
// This is done so the save directory is only created on-demand.
|
||||
if (!mountCommonPathInternal(COMMONPATH_APP_SAVEDIR, nullptr, MOUNT_PERMISSIONS_READWRITE, appendToPath, false))
|
||||
saveDirectoryNeedsMounting = true;
|
||||
else
|
||||
saveDirectoryNeedsMounting = false;
|
||||
|
||||
// Mount any other app common paths with directory creation immediately
|
||||
// instead of on-demand, since to get to this point they would have to be
|
||||
|
||||
Reference in New Issue
Block a user