1
0
Fork 0
forked from Miroirs/x49gp
This commit is contained in:
Gwenhael Le Moine 2024-11-05 12:35:38 +01:00
parent 425367695b
commit f14aa9bf14
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -443,8 +443,9 @@ static int flash_load( x49gp_module_t* module, GKeyFile* key )
memset( phys_ram_base + flash->offset, 0xff, flash->size - st.st_size ); memset( phys_ram_base + flash->offset, 0xff, flash->size - st.st_size );
bootfd = x49gp_module_open_rodata( module, bootfd = x49gp_module_open_rodata( module,
ui->calculator == UI_CALCULATOR_HP49GP || calc == UI_CALCULATOR_HP49GP_NEWRPL ? "firmware/boot-49g+.bin" ui->calculator == UI_CALCULATOR_HP49GP || ui->calculator == UI_CALCULATOR_HP49GP_NEWRPL
: "firmware/boot-50g.bin", ? "firmware/boot-49g+.bin"
: "firmware/boot-50g.bin",
&bootfile ); &bootfile );
if ( bootfd < 0 ) { if ( bootfd < 0 ) {