mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +03:00
plugins/data: that shouldn't be there (nw)
This commit is contained in:
parent
47f2f58c1c
commit
b5f648cca7
@ -151,9 +151,6 @@ function datfile.open(file, vertag, fixupcb)
|
|||||||
local row = stmt:last_insert_rowid()
|
local row = stmt:last_insert_rowid()
|
||||||
stmt:finalize()
|
stmt:finalize()
|
||||||
for num, tag in pairs(tags) do
|
for num, tag in pairs(tags) do
|
||||||
if fixupcb then
|
|
||||||
fixupcb(data)
|
|
||||||
end
|
|
||||||
stmt = db.prepare("INSERT INTO \"" .. file .. "_idx\" VALUES (?, ?, ?, ?)")
|
stmt = db.prepare("INSERT INTO \"" .. file .. "_idx\" VALUES (?, ?, ?, ?)")
|
||||||
db.check("inserting into index")
|
db.check("inserting into index")
|
||||||
stmt:bind_values(infotype, tag.tag, tag.set, row)
|
stmt:bind_values(infotype, tag.tag, tag.set, row)
|
||||||
|
Loading…
Reference in New Issue
Block a user