hiti: Add in all known heattable files for the P520/P525 series
They'll be ignored for the most part, but that will change.master
parent
e34bdd143a
commit
f7e14cb73b
|
@ -1786,6 +1786,7 @@ static const char* hiti_get_heat_file(struct hiti_ctx *ctx, uint8_t mode)
|
|||
break;
|
||||
case P_HITI_51X:
|
||||
if (mediatype == 0x1000) { /* CHC media */
|
||||
// XXX heatpcra/heatphra.bin
|
||||
if (mode) {
|
||||
switch(mediaver) {
|
||||
case 0:
|
||||
|
@ -1845,6 +1846,7 @@ static const char* hiti_get_heat_file(struct hiti_ctx *ctx, uint8_t mode)
|
|||
}
|
||||
break;
|
||||
case P_HITI_530:
|
||||
// XXX heatpcrk.bin
|
||||
if (mode) {
|
||||
return "P53x_heatqcrk.bin";
|
||||
} else {
|
||||
|
@ -1852,6 +1854,7 @@ static const char* hiti_get_heat_file(struct hiti_ctx *ctx, uint8_t mode)
|
|||
}
|
||||
case P_HITI_720:
|
||||
if (mediatype == 0x1000) { /* CHC media */
|
||||
// XXX heatphrd/heatpcrd
|
||||
if (mode) {
|
||||
switch(mediaver) {
|
||||
case 3:
|
||||
|
@ -1917,10 +1920,58 @@ static const char* hiti_get_heat_file(struct hiti_ctx *ctx, uint8_t mode)
|
|||
return "P75x_heattcrh.bin";
|
||||
}
|
||||
break;
|
||||
case P_HITI_520:
|
||||
case P_HITI_520: // CHC media only, apparently
|
||||
if (mode) {
|
||||
// XXX heatpcri.bin // "HQ" mode?
|
||||
return NULL;
|
||||
} else {
|
||||
switch(mediaver) {
|
||||
case 0:
|
||||
return "P52x_heattcri.bin";
|
||||
case 1:
|
||||
return "P52x_hea1tcri.bin";
|
||||
case 2:
|
||||
return "P52x_hea2tcri.bin";
|
||||
case 3:
|
||||
return "P52x_hea3tcri.bin";
|
||||
case 4:
|
||||
return "P52x_hea4tcri.bin";
|
||||
case 5:
|
||||
return "P52x_hea5tcri.bin";
|
||||
case 7:
|
||||
return "P52x_hea7tcri.bin";
|
||||
case 8:
|
||||
default:
|
||||
return "P52x_hea8tcri.bin";
|
||||
}
|
||||
}
|
||||
break;
|
||||
case P_HITI_525:
|
||||
// XXX anything?
|
||||
// hea5pcri1/heatpcri1/heatpcri.bin
|
||||
if (mode) {
|
||||
// XXX hea[t5]pcri1.bin // HQ mode?
|
||||
return NULL;
|
||||
} else {
|
||||
switch(mediaver) {
|
||||
case 0:
|
||||
return "P52x_heattcri1.bin";
|
||||
case 1:
|
||||
return "P52x_hea1tcri1.bin";
|
||||
case 2:
|
||||
return "P52x_hea2tcri1.bin";
|
||||
case 3:
|
||||
return "P52x_hea3tcri1.bin";
|
||||
case 4:
|
||||
return "P52x_hea4tcri1.bin";
|
||||
case 5:
|
||||
return "P52x_hea5tcri1.bin";
|
||||
case 7:
|
||||
return "P52x_hea7tcri1.bin";
|
||||
case 8:
|
||||
default:
|
||||
return "P52x_hea8tcri1.bin";
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue