Registry node with RI signature are effectively _CM_KEY_INDEX, just with single item elements.

This commit is contained in:
Mike Auty
2017-11-08 11:40:17 +00:00
parent 2db214e2f8
commit 497f0f4950
+1 -1
View File
@@ -77,7 +77,7 @@ class RegistryHive(interfaces.layers.TranslationLayerInterface):
return cell.u.KeyValue
elif signature == 'db':
return cell.u.ValueData
elif signature == 'lf' or signature == 'lh':
elif signature == 'lf' or signature == 'lh' or signature == 'ri':
return cell.u.KeyIndex
else:
# It doesn't matter that we use KeyNode, we're just after the first two bytes