project restructure

This commit is contained in:
SimoneN64
2023-08-11 15:16:30 +02:00
parent 74dccb6ac6
commit 79c7b070eb
10 changed files with 1200 additions and 88 deletions

19
main.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include <App.hpp>
#include <MupenMovie.hpp>
int main(int argc, char** argv) {
App* app = new App;
if(argc > 1) {
if(argc > 2) {
LoadTAS(argv[2]);
}
app->window.LoadROM(app->core, argv[1]);
}
app->Run();
delete app;
return 0;
}