mirror of
https://github.com/gwenhael-le-moine/x49gp.git
synced 2024-12-25 21:58:49 +01:00
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:
parent
e8aeadc974
commit
db5db82898
10 changed files with 4 additions and 3 deletions
BIN
2MB_215f.bin
BIN
2MB_215f.bin
Binary file not shown.
BIN
4950_215.bin
BIN
4950_215.bin
Binary file not shown.
BIN
4950_92.bin
BIN
4950_92.bin
Binary file not shown.
BIN
49Gp_88.bin
BIN
49Gp_88.bin
Binary file not shown.
BIN
boot-49g+.bin
BIN
boot-49g+.bin
Binary file not shown.
BIN
boot-50g.bin
BIN
boot-50g.bin
Binary file not shown.
BIN
boot.bin
BIN
boot.bin
Binary file not shown.
1
firmware/Placeholder
Normal file
1
firmware/Placeholder
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This folder will hold ROM binary files.
|
4
flash.c
4
flash.c
|
@ -524,8 +524,8 @@ flash_load(x49gp_module_t *module, GKeyFile *key)
|
||||||
bootfd = x49gp_module_open_rodata(module,
|
bootfd = x49gp_module_open_rodata(module,
|
||||||
calc == UI_CALCULATOR_HP49GP ||
|
calc == UI_CALCULATOR_HP49GP ||
|
||||||
calc == UI_CALCULATOR_HP49GP_NEWRPL ?
|
calc == UI_CALCULATOR_HP49GP_NEWRPL ?
|
||||||
"boot-49g+.bin" :
|
"firmware/boot-49g+.bin" :
|
||||||
"boot-50g.bin",
|
"firmware/boot-50g.bin",
|
||||||
&bootfile);
|
&bootfile);
|
||||||
|
|
||||||
if (bootfd < 0) {
|
if (bootfd < 0) {
|
||||||
|
|
2
main.c
2
main.c
|
@ -464,7 +464,7 @@ action_longopt(struct options *opt, struct option_def *match, char *this_opt,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
case '=':
|
case '=':
|
||||||
(option_defs[i].action)(opt, option_defs + i, this_opt,
|
(option_defs[i].action)(opt, option_defs + i, this_opt,
|
||||||
option_str+2, progname);
|
option_str+1, progname);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue