mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
data_marp: bail if database not open (nw)
This commit is contained in:
parent
1f3a452cd0
commit
89a97d353c
1 changed files with 4 additions and 2 deletions
|
@ -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 a new issue