Skip to content

Commit 4d4061e

Browse files
Update launch configuration paths and enhance RedumpParser to include country and language attributes for ROM objects
1 parent 3124b4c commit 4d4061e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"launchConfigurationId": "TargetFramework=;TestApp",
1919
"args": [
2020
"-datpath",
21-
"${env:HOME}/Development/Signatures/NoIntro/DAT",
21+
"${env:HOME}/Development/Signatures/Redump",
2222
"-dbpath",
2323
"${env:HOME}/Development/Signatures/NoIntro/DB",
2424
"-outpath",

gaseous-signature-parser/classes/parsers/RedumpParser.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,17 @@ public RomSignatureObject Parse(string XMLFile)
376376
romObject.Attributes.Add("serial", gameSerial);
377377
}
378378

379+
// apply country list to the rom object
380+
if (romCountryList != null && romCountryList.Count > 0)
381+
{
382+
romObject.Country = new Dictionary<string, string>(romCountryList);
383+
}
384+
// apply language list to the rom object
385+
if (romLanguageList != null && romLanguageList.Count > 0)
386+
{
387+
romObject.Language = new Dictionary<string, string>(romLanguageList);
388+
}
389+
379390
gameObject.Roms.Add(romObject);
380391
break;
381392

0 commit comments

Comments
 (0)