Skip to content

Commit 24160df

Browse files
committed
Ensure squished UNZIP.lua only takes 3 FAT12 clusters (< 1536 bytes).
1 parent 0ed566e commit 24160df

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

arch/UNZIP.LUA

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ if arg[-1] then
132132
os.exit(1)
133133
end
134134
unzip(arg[1])
135-
else
136-
-- The script was loaded by an interactive intepreter (most likely to swap disks).
137-
if not pcall(require, "INFLATE") then print("No inflate support") end
138-
print("Insert disk with zipfile and type unzip('zipfile') to begin...")
139135
end
136+
137+
-- If arg[-1] == nil then the script was loaded by an interactive intepreter (most likely to swap disks).

0 commit comments

Comments
 (0)