Skip to content

Commit

Permalink
fix: Modules.load_module() takes 2 positional arguments but 3 were gi…
Browse files Browse the repository at this point in the history
…ven (AeonLucid#81)
  • Loading branch information
Rsplwe authored Sep 12, 2023
1 parent 429f68d commit b6c492c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/androidemu/emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def _setup_thread_register(self):
self.uc.reg_write(UC_ARM_REG_C13_C0_3, thread_info_1)

def load_library(self, filename, do_init=True):
libmod = self.modules.load_module(filename, do_init)
libmod = self.modules.load_module(filename)
if do_init:
logger.debug("Calling init for: %s " % filename)
for fun_ptr in libmod.init_array:
Expand Down

0 comments on commit b6c492c

Please sign in to comment.