From 93771fee596dfaa6887d61e345e1c6739c270afa Mon Sep 17 00:00:00 2001 From: GregWeil Date: Thu, 6 Jul 2023 15:49:56 -0400 Subject: [PATCH] plugins/hiscore: Fixed detection of software item lines, and added high score support for Mega Drive Sonic Spinball. (#11282) --- plugins/hiscore/hiscore.dat | 5 +++++ plugins/hiscore/init.lua | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/hiscore/hiscore.dat b/plugins/hiscore/hiscore.dat index df18a6a61f8..c3cd94ebb1b 100644 --- a/plugins/hiscore/hiscore.dat +++ b/plugins/hiscore/hiscore.dat @@ -12292,6 +12292,11 @@ logicpr2: ;@s:sega/mdconsole.cpp +genesis,sspinu: +megadriv,sspin: +megadrij,sspinj: +@:maincpu,program,fff8da,1e,ff,c8 + genesis,tf3: @:maincpu,program,fff2ac,4,00,90 diff --git a/plugins/hiscore/init.lua b/plugins/hiscore/init.lua index ae8ebf7568e..8b8dd6c6d23 100644 --- a/plugins/hiscore/init.lua +++ b/plugins/hiscore/init.lua @@ -175,7 +175,7 @@ function hiscore.startplugin() end elseif string.find(line, rm_match) then --- match this game current_is_match = true; - elseif string.find(line, '^[a-z0-9_]+:') then --- some game + elseif string.find(line, '^[a-z0-9_,]+:') then --- some game if current_is_match and string.len(cluster) > 0 then break; -- we're done end