mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-20 04:31:09 +02:00
refactor(import): drop redundant mobileFileBridge or and unused ready
scanInbox never consulted ready, and mobileFileBridge already mirrors android on Android/iOS, so the dual guard was a no-op. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -163,7 +163,7 @@ eq(savs[1], "imports/saves/red/valid.sav", "scanSavesInbox path is under imports
|
||||
ri = freshImporter()
|
||||
love.filesystem.write("imports/saves/red/cart.sav", string.rep("S", 32))
|
||||
love.filesystem.write("imports/saves/red/dump.gb", string.rep("G", 16))
|
||||
local roms = ri:scanInbox(ri.ready)
|
||||
local roms = ri:scanInbox()
|
||||
for _, path in ipairs(roms) do
|
||||
check(not path:lower():match("%.sav$"),
|
||||
"ROM scanInbox ignores .sav: " .. tostring(path))
|
||||
|
||||
Reference in New Issue
Block a user