summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-01-11 02:13:32 +0000
committerGitHub <noreply@github.com>2023-01-11 02:13:32 +0000
commite11235ee14f9cd3fc45b836eec99ed312cb137dd (patch)
tree023866a25f9fe4db482a8c5f5d1c9cab24882c46 /data
parent20474ae2321f0fb456731646b5b2e3090990b8df (diff)
De-duplicate platform detection (#19545)
Diffstat (limited to 'data')
-rw-r--r--data/mappings/info_rules.hjson2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/mappings/info_rules.hjson b/data/mappings/info_rules.hjson
index b020d0c813..c409da04c6 100644
--- a/data/mappings/info_rules.hjson
+++ b/data/mappings/info_rules.hjson
@@ -38,6 +38,8 @@
"PS2_MOUSE_ENABLE": {"info_key": "ps2.mouse_enabled", "value_type": "bool"},
"PS2_DRIVER": {"info_key": "ps2.driver"},
+ "PLATFORM_KEY": {"info_key": "platform_key", "to_json": false},
+
// Items we want flagged in lint
"CTPC": {"info_key": "_deprecated.ctpc", "deprecated": true, "replace_with": "CONVERT_TO=proton_c"},
"CONVERT_TO_PROTON_C": {"info_key": "_deprecated.ctpc", "deprecated": true, "replace_with": "CONVERT_TO=proton_c"},