Add polyfill.lua for fallback support

This commit is contained in:
ParticleG
2023-06-14 14:35:08 +08:00
parent 1e76b8e533
commit d22aa81fa0
2 changed files with 3392 additions and 0 deletions

View File

@@ -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

File diff suppressed because it is too large Load Diff