love.filesystem.isFused

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets whether the game is in fused mode or not.

If a game is in fused mode, its save directory will be directly in the Appdata directory instead of Appdata/LOVE/. The game will also be able to load C Lua dynamic libraries which are located in the save directory.

A game is in fused mode if the source .love has been fused to the executable (see Game Distribution), or if "--fused" has been given as a command-line argument when starting the game.

Function

Synopsis

fused = love.filesystem.isFused( )

Arguments

None

Returns

boolean fused
True if the game is in fused mode, false otherwise.

See Also

Other Languages