From 4e68daeeb35fa7e4f87579d441a91679acd2f437 Mon Sep 17 00:00:00 2001 From: Yoshi2 Date: Sun, 19 Sep 2021 12:51:57 +0200 Subject: [PATCH] Remove unpack var --- memorylib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memorylib.py b/memorylib.py index 4eea7a3..5b1875b 100644 --- a/memorylib.py +++ b/memorylib.py @@ -175,7 +175,7 @@ class Dolphin(object): def read_float(self, addr): assert addr >= 0x80000000 - success, value = self.read_ram(addr - 0x80000000, 4) + value = self.read_ram(addr - 0x80000000, 4) return unpack(">f", value)[0]