plugins/data: Fixed story.dat errors; virtual.flt: Use glob pattern.

This commit is contained in:
Vas Crabb 2022-07-02 03:11:23 +10:00
parent 5a5f220698
commit df65b00ed4
3 changed files with 5 additions and 6 deletions

View File

@ -16,7 +16,8 @@ function dat.check(set, softlist)
data = data:gsub('MAMESCORE records : ([^\n]+)', 'MAMESCORE records :\t\n%1', 1)
for line in data:gmatch('[^\n]*') do
if (line ~= '') or ((#lines ~= 0) and (lines[#lines] ~= '')) then
table.insert(lines, line:gsub('^(.-)_+([0-9.]+)$', '%1\t%2'))
line = line:gsub('^(.-)_+([0-9.]+)$', '%1\t%2')
table.insert(lines, line)
end
end
info = '#j2\n' .. table.concat(lines, '\n')

View File

@ -27,9 +27,9 @@ vtech/gamemachine.cpp
zaccaria/zaccaria.cpp
// from midw8080/mw8080bw.cpp
+280zzzap
+gunfight
+gunfighto
+280zzzap
+lagunar
// from sega/vicdual.cpp
@ -37,9 +37,9 @@ zaccaria/zaccaria.cpp
+brdrline
+brdrlinet
+brdrlins
+frogs
+starrkr
+tranqgun
+frogs
// extra parents to allow validation to pass
+afighter

View File

@ -1,3 +1 @@
virtual/vgmplay.cpp
virtual/wavesynth.cpp
virtual/ldplayer.cpp
virtual/*.cpp