mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-09 09:40:34 +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'
|
s = 's'
|
||||||
else:
|
else:
|
||||||
s = ''
|
s = ''
|
||||||
return str(pos) + ':' + s + str(len)
|
return str(self.pos) + ':' + s + str(self.len)
|
||||||
|
|
||||||
def str_extract(self):
|
def str_extract(self):
|
||||||
if self.sign:
|
if self.sign:
|
||||||
|
|
Loading…
Reference in a new issue