add puredos to hasheous matches

This commit is contained in:
Georges-Antoine Assi
2025-11-01 10:48:46 -04:00
parent a54d1fcd59
commit 9a0b37dcfa
4 changed files with 8 additions and 0 deletions

View File

@@ -303,6 +303,7 @@ class DBRomsHandler(DBBaseHandler):
"whdload_match",
"ra_match",
"fbneo_match",
"puredos_match",
]
if ROMM_DB_DRIVER == "postgresql":

View File

@@ -31,6 +31,7 @@ class HasheousMetadata(TypedDict):
whdload_match: bool
ra_match: bool
fbneo_match: bool
puredos_match: bool
class HasheousPlatform(TypedDict):
@@ -330,6 +331,7 @@ class HasheousHandler(MetadataHandler):
whdload_match="WHDLoad" in signatures,
ra_match="RetroAchievements" in signatures,
fbneo_match="FBNeo" in signatures,
puredos_match="PureDOS" in signatures,
),
)

View File

@@ -11,5 +11,6 @@ export type RomHasheousMetadata = {
whdload_match?: boolean;
ra_match?: boolean;
fbneo_match?: boolean;
puredos_match?: boolean;
};

View File

@@ -52,6 +52,10 @@ const hashMatches = computed(() => {
name: "WHDLoad",
match: props.rom.hasheous_metadata?.whdload_match,
},
{
name: "PureDOS",
match: props.rom.hasheous_metadata?.puredos_match,
},
].filter((item) => item.match);
});
</script>