mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 08:49:16 +00:00
scripts/decodetree.py: fix reference to attributes
Backports commit cbcdf1a951aa605c43dc80a98a8cc366299e378c from qemu
This commit is contained in:
parent
33422a04bc
commit
40a33d2542
1 changed files with 1 additions and 1 deletions
|
@ -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