mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-15 19:57:08 +12:00
Update opengl.hpp, start with ELFs
This commit is contained in:
parent
1a8d563041
commit
51689af51f
8 changed files with 469 additions and 392 deletions
|
@ -7,5 +7,9 @@ int main (int argc, char *argv[]) {
|
|||
Helpers::panic("Failed to initialize OpenGL");
|
||||
}
|
||||
|
||||
auto elfPath = std::filesystem::current_path() / (argc > 1 ? argv[1] : "simple_tri.elf");
|
||||
if (emu.loadELF(elfPath)) {
|
||||
Helpers::panic("Failed to load ELF file: %s", elfPath.c_str());
|
||||
}
|
||||
emu.run();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue