Made hmp->tempo endian-safe
This commit is contained in:
parent
132d29cebb
commit
927ab7ff53
|
@ -102,7 +102,7 @@ hmp_file *hmp_open(const char *filename) {
|
||||||
hmp_close(hmp);
|
hmp_close(hmp);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
hmp->tempo = tempo;
|
hmp->tempo = INTEL_INT(tempo);
|
||||||
|
|
||||||
if (PHYSFSX_fseek(fp, 0x308, SEEK_SET))
|
if (PHYSFSX_fseek(fp, 0x308, SEEK_SET))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue