mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 01:45:31 +00:00
scripts/decodetree.py: fix reference to attributes
Backports commit cbcdf1a951aa605c43dc80a98a8cc366299e378c from qemu
This commit is contained in:
parent
33422a04bc
commit
40a33d2542
|
@ -300,7 +300,7 @@ class Field:
|
|||
s = 's'
|
||||
else:
|
||||
s = ''
|
||||
return str(pos) + ':' + s + str(len)
|
||||
return str(self.pos) + ':' + s + str(self.len)
|
||||
|
||||
def str_extract(self):
|
||||
if self.sign:
|
||||
|
|
Loading…
Reference in a new issue