Skip to content

Commit

Permalink
Fixed bug that skipped first character of firmware file name on long …
Browse files Browse the repository at this point in the history
…options.

Moved boot loaders to /firmware directory.
Removed all binary files from repository.
  • Loading branch information
claudiol committed Nov 19, 2021
1 parent e8aeadc commit db5db82
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 3 deletions.
Binary file removed 2MB_215f.bin
Binary file not shown.
Binary file removed 4950_215.bin
Binary file not shown.
Binary file removed 4950_92.bin
Binary file not shown.
Binary file removed 49Gp_88.bin
Binary file not shown.
Binary file removed boot-49g+.bin
Binary file not shown.
Binary file removed boot-50g.bin
Binary file not shown.
Binary file removed boot.bin
Binary file not shown.
1 change: 1 addition & 0 deletions firmware/Placeholder
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This folder will hold ROM binary files.
4 changes: 2 additions & 2 deletions flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ flash_load(x49gp_module_t *module, GKeyFile *key)
bootfd = x49gp_module_open_rodata(module,
calc == UI_CALCULATOR_HP49GP ||
calc == UI_CALCULATOR_HP49GP_NEWRPL ?
"boot-49g+.bin" :
"boot-50g.bin",
"firmware/boot-49g+.bin" :
"firmware/boot-50g.bin",
&bootfile);

if (bootfd < 0) {
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ action_longopt(struct options *opt, struct option_def *match, char *this_opt,
return TRUE;
case '=':
(option_defs[i].action)(opt, option_defs + i, this_opt,
option_str+2, progname);
option_str+1, progname);
return TRUE;
}
}
Expand Down

0 comments on commit db5db82

Please sign in to comment.