Made hmp->tempo endian-safe

This commit is contained in:
zico 2013-06-27 12:08:51 +02:00
parent 132d29cebb
commit 927ab7ff53

View file

@ -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))
{