Skip to content

Commit

Permalink
DEBUG: argv?
Browse files Browse the repository at this point in the history
  • Loading branch information
vabold committed Mar 26, 2024
1 parent 91027ae commit 677faef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/host/System.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ void KSystem::handleOption(Option opt, int argc, char **argv, int &i) {
}

size_t size;
if (strcmp(argv[++i], "testCases.bin") != 0) {
exit(100);
}
u8 *data = Abstract::File::Load(argv[++i], size);
m_binaryData = std::span<u8>(data, size);
} break;
Expand Down

0 comments on commit 677faef

Please sign in to comment.