Skip to content

Commit 5aa46de

Browse files
committed
Save VBIOS even when rom-parser cannot identify it
1 parent 5b2758c commit 5aa46de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/methods.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ def self.run file
6868
FileUtils.cp(mod, "#{outpath}/#{new_filename}")
6969
end
7070
rescue Cocaine::ExitStatusError => e
71-
puts "can't determine vbios type"
71+
puts "can't determine vbios type of #{File.basename(mod)}, saving as 'vbios_unknown_#{File.basename(mod)}'"
72+
FileUtils.cp(mod, "#{outpath}/vbios_unknown_#{File.basename(mod)}")
7273
end
7374
end
7475
else

0 commit comments

Comments
 (0)