From 927ab7ff53fb0367c8704b9e1fa0e1193fb912ce Mon Sep 17 00:00:00 2001 From: zico Date: Thu, 27 Jun 2013 12:08:51 +0200 Subject: [PATCH] Made hmp->tempo endian-safe --- misc/hmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/hmp.c b/misc/hmp.c index 34a64fa49..ec288da6d 100644 --- a/misc/hmp.c +++ b/misc/hmp.c @@ -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)) {