integration of n64 core
This commit is contained in:
17
src/main.cpp
17
src/main.cpp
@@ -1,7 +1,20 @@
|
||||
#include <Frontend.hpp>
|
||||
#ifdef FRONTEND_QT
|
||||
#include <qt/Frontend.hpp>
|
||||
#elifdef FRONTEND_SDL
|
||||
#include <sdl/Frontend.hpp>
|
||||
#endif
|
||||
|
||||
int main() {
|
||||
#include <util.hpp>
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
#ifdef FRONTEND_SDL
|
||||
if(argc < 2) {
|
||||
natsukashii::util::panic("Usage: natsukashii [rom]");
|
||||
}
|
||||
natsukashii::frontend::App app(argv[1]);
|
||||
#else
|
||||
natsukashii::frontend::App app;
|
||||
#endif
|
||||
app.Run();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user