mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
data_marp: bail if database not open (nw)
This commit is contained in:
parent
1f3a452cd0
commit
89a97d353c
@ -111,10 +111,12 @@ local function init()
|
||||
db:exec("END TRANSACTION")
|
||||
end
|
||||
|
||||
init()
|
||||
if db then
|
||||
init()
|
||||
end
|
||||
|
||||
function dat.check(set, softlist)
|
||||
if softlist or not ver then
|
||||
if softlist or not ver or not db then
|
||||
return nil
|
||||
end
|
||||
info = nil
|
||||
|
Loading…
Reference in New Issue
Block a user