From 04cbd877cddabf1d7e4bbfd0f4f7553f6fc57899 Mon Sep 17 00:00:00 2001 From: zlago Date: Thu, 2 Jan 2025 19:01:27 +0100 Subject: tweaks --- src/common/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/common.c b/src/common/common.c index 5ce79ad..a944f8f 100644 --- a/src/common/common.c +++ b/src/common/common.c @@ -8,7 +8,7 @@ int (*file_ext(char *file))(struct blob *, struct userdata *) { size_t len = strlen(file); #define ext(extension) memcmp(file + len - sizeof (extension) + 1, extension, sizeof (extension)) - if ((ext(".mptm") && ext(".mod") && ext(".MOD") && ext(".xm") && ext(".s3m") && ext(".it")) == 0) { + if ((ext(".mptm") && ext(".mod") && ext(".MOD") && ext(".xm") && ext(".s3m") && ext(".it") && ext(".oxm") && ext(".mo3")) == 0) { return module_openmpt; } else if ((ext(".mid") && ext(".MID") && ext(".midi")) == 0) { return module_fluidsynth; -- cgit 1.4.1-2-gfad0