Add polyfill.lua for fallback support
This commit is contained in:
1
conf.lua
1
conf.lua
@@ -3,6 +3,7 @@ MOBILE=SYSTEM=='Android' or SYSTEM=='iOS'
|
||||
FNNS=SYSTEM:find'\79\83'-- What does FNSF stand for? IDK so don't ask me lol
|
||||
|
||||
if SYSTEM=='Web' then
|
||||
POLYFILL = require"polyfill"
|
||||
local oldRead=love.filesystem.read
|
||||
function love.filesystem.read(name,size)
|
||||
if love.filesystem.getInfo(name) then
|
||||
|
||||
3391
polyfill.lua
Normal file
3391
polyfill.lua
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user