From 677faef7fc6570250407c96a981e916a167b2bb3 Mon Sep 17 00:00:00 2001 From: Aiden <86704247+vabold@users.noreply.github.com> Date: Tue, 26 Mar 2024 02:07:05 -0400 Subject: [PATCH] DEBUG: argv? --- source/host/System.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/host/System.cc b/source/host/System.cc index 2eecdf7e..643ba372 100644 --- a/source/host/System.cc +++ b/source/host/System.cc @@ -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(data, size); } break;