Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy authored Mar 21, 2024
1 parent 6469e28 commit a6d99aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cemu/emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,11 @@ def __populate_text_section(self) -> bool:
MEMORY_STACK_SECTION_NAME,
):
try:
text_section = self.find_section(secname)
self.find_section(secname)
except KeyError:
raise CemuEmulatorMissingRequiredSection(secname)


text_section = self.find_section(MEMORY_TEXT_SECTION_NAME)
info(f"Using text section {text_section}")

if not self.__generate_text_bytecode():
Expand Down

0 comments on commit a6d99aa

Please sign in to comment.