mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-09 22:18:00 -05:00
Fixed calls for hive and subkey
This commit is contained in:
@@ -65,7 +65,7 @@ def run_benchmark() -> tuple[float]:
|
|||||||
|
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
|
||||||
process_registry_file(input_file, config_file)
|
process_registry_file(hive, subkey, input_file, config_file)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
# Make sure the game started correctly
|
# Make sure the game started correctly
|
||||||
result = kerasService.look_for_word("remastered", 10, 5)
|
result = kerasService.look_for_word("remastered", 10, 5)
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ def export_registry_key(hive, subkey, input_file):
|
|||||||
def convert_dword_to_decimal(dword_hex):
|
def convert_dword_to_decimal(dword_hex):
|
||||||
return int(dword_hex, 16)
|
return int(dword_hex, 16)
|
||||||
|
|
||||||
def process_registry_file(input_file, config_file):
|
def process_registry_file(hive, subkey, input_file, config_file):
|
||||||
export_registry_key(hive, subkey, input_file)
|
export_registry_key(hive, subkey, input_file)
|
||||||
with open(input_file, 'r') as file:
|
with open(input_file, 'r') as file:
|
||||||
lines = file.readlines()
|
lines = file.readlines()
|
||||||
|
|||||||
Reference in New Issue
Block a user