Finish ELF loading, running actual code now
This commit is contained in:
@@ -8,7 +8,7 @@ int main (int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
auto elfPath = std::filesystem::current_path() / (argc > 1 ? argv[1] : "simple_tri.elf");
|
||||
if (emu.loadELF(elfPath)) {
|
||||
if (!emu.loadELF(elfPath)) {
|
||||
Helpers::panic("Failed to load ELF file: %s", elfPath.c_str());
|
||||
}
|
||||
emu.run();
|
||||
|
||||
Reference in New Issue
Block a user