1
0
Fork 0
forked from Miroirs/x49gp

Fixed bug that skipped first character of firmware file name on long options.

Moved boot loaders to /firmware directory.
Removed all binary files from repository.
This commit is contained in:
claudiol 2021-11-19 13:03:09 -05:00
parent e8aeadc974
commit db5db82898
10 changed files with 4 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
boot.bin

Binary file not shown.

1
firmware/Placeholder Normal file
View file

@ -0,0 +1 @@
This folder will hold ROM binary files.

View file

@ -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) {

2
main.c
View file

@ -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;
}
}