Skip to content

Commit

Permalink
avoid crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
bittboy committed Sep 12, 2021
1 parent 3b2ff74 commit 65ce69a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions simplemenu/src/logic/simplemenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,11 @@ void processEvents() {

int main(int argc, char* argv[]) {
logMessage("INFO","main","Setup 1");
#ifdef TARGET_PC
initialSetup(atoi(argv[1]), atoi(argv[2]));
#else
initialSetup(320,240);
#endif
logMessage("INFO","main","Setup 2");
initialSetup2();
logMessage("INFO","main","Checking launch at boot");
Expand Down

0 comments on commit 65ce69a

Please sign in to comment.