summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-01-19 00:27:00 +0000
committerGitHub <noreply@github.com>2023-01-19 00:27:00 +0000
commit0ce3f6bcfe8241e51dd6936d24e6a88c907c535d (patch)
tree216c96bb7d8037120a256d0c707150b95f5866bd /data
parenta1f253cbef309906c989cfb3e123ee8fb3172bb4 (diff)
De-duplicate platform detection (#19603)
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"},