MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / GetHostFeatures

Function GetHostFeatures

Scripts/InstructionCountParser.py:83–94  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

81}
82
83def GetHostFeatures(data):
84 HostFeaturesData = HostFeatures.FEATURE_ANY
85 if not (type(data) is list):
86 sys.exit("Features value must be list of features")
87
88 for data_key in data:
89 data_key = data_key.upper()
90 if not (data_key in HostFeaturesLookup):
91 sys.exit("Invalid host feature")
92
93 HostFeaturesData |= HostFeaturesLookup[data_key]
94 return HostFeaturesData
95
96def parse_json_data(json_filepath, json_filename, json_data, output_binary_path):
97 Bitness = 64

Callers 1

parse_json_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected