Skip to content

Commit

Permalink
enhance 05c284c
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps committed Jun 22, 2023
1 parent 05c284c commit cf8f802
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@ void RunLoaderElf(const char *filename, const char *party)
sleep(5);
DPRINTF(".\n");
#endif
if (party == NULL)
{
DPRINTF("LoadELFFromFile(%s, 0, NULL)\n", filename);
LoadELFFromFile(filename, 0, NULL);
}
else
{
DPRINTF("LoadELFFromFileWithPartition(%s, %s, 0, NULL);\n", filename, party);
LoadELFFromFileWithPartition(filename, party, 0, NULL);
}

DPRINTF("LoadELFFromFileWithPartition(%s, %s, 0, NULL);\n", filename, party);
LoadELFFromFileWithPartition(filename, party, 0, NULL);
}

0 comments on commit cf8f802

Please sign in to comment.