Refactor all references to Context.memory to Context.layers.

This commit is contained in:
Mike Auty
2019-07-07 17:42:51 +01:00
parent ba868c7c27
commit 272224a1b0
55 changed files with 158 additions and 158 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class ObjectInterface(metaclass = ABCMeta):
#
# Normalize offsets
mask = context.memory[object_info.layer_name].address_mask
mask = context.layers[object_info.layer_name].address_mask
normalized_offset = object_info.offset & mask
self._vol = collections.ChainMap({}, object_info, {'type_name': type_name, 'offset': normalized_offset}, kwargs)