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