Skip to content

Commit

Permalink
#2345: fixed crash with custom --scale parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed Nov 11, 2023
1 parent a062e70 commit e26d9ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/studio/studio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2562,6 +2562,8 @@ Studio* studio_create(s32 argc, char **argv, s32 samplerate, tic80_pixel_color_f
studio->config->data.soft |= args.soft;
studio->config->data.cli |= args.cli;

studioConfigChanged(studio);

if(args.cli)
args.skip = true;

Expand Down

0 comments on commit e26d9ea

Please sign in to comment.