Skip to content

Commit

Permalink
rpi build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed May 26, 2021
1 parent 7cbe0dc commit 92884fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/system/baremetalpi/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ TShutdownMode Run(void)
dbg("With keyboard\n");
malloc(77);
char arg0[] = "xxkernel";
const char* argv[] = { &arg0[0], NULL };
char* argv[] = { &arg0[0], NULL };
int argc = 1;
malloc(88);
platform.studio = studioInit(argc, argv, 44100, "tic80");
Expand All @@ -389,7 +389,7 @@ TShutdownMode Run(void)
// if no keyboard, start in surf mode!
char arg0[] = "xxkernel";
char arg1[] = "--cmd=surf";
const char* argv[] = { &arg0[0], &arg1[0], NULL };
char* argv[] = { &arg0[0], &arg1[0], NULL };
int argc = 2;
dbg("Without keyboard\n");
platform.studio = studioInit(argc, argv, 44100, "tic80");
Expand Down

0 comments on commit 92884fe

Please sign in to comment.