This commit is contained in:
wheremyfoodat 2022-09-24 02:45:57 +03:00
parent 75070ca6ef
commit be4fae5104
33 changed files with 341 additions and 70 deletions

View file

@ -7,6 +7,8 @@ int main (int argc, char *argv[]) {
Helpers::panic("Failed to initialize OpenGL");
}
emu.initGraphicsContext();
auto elfPath = std::filesystem::current_path() / (argc > 1 ? argv[1] : "SimplerTri.elf");
if (!emu.loadELF(elfPath)) {
// For some reason just .c_str() doesn't show the proper path