Remove unpack var
This commit is contained in:
parent
dd1f33ab53
commit
4e68daeeb3
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class Dolphin(object):
|
||||||
|
|
||||||
def read_float(self, addr):
|
def read_float(self, addr):
|
||||||
assert addr >= 0x80000000
|
assert addr >= 0x80000000
|
||||||
success, value = self.read_ram(addr - 0x80000000, 4)
|
value = self.read_ram(addr - 0x80000000, 4)
|
||||||
|
|
||||||
return unpack(">f", value)[0]
|
return unpack(">f", value)[0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue