diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/common.c | 2 | ||||
-rw-r--r-- | src/common/common.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/common/common.c b/src/common/common.c index 8628cd2..840df50 100644 --- a/src/common/common.c +++ b/src/common/common.c @@ -12,6 +12,8 @@ int (*file_ext(char *file))(struct blob *, struct userdata *) { return module_openmpt; } else if ((ext(".mid") && ext(".MID") && ext(".midi")) == 0) { return module_fluidsynth; + } else if ((ext(".org") && ext(".ORG")) == 0) { + return module_organya; } #undef ext return NULL; diff --git a/src/common/common.h b/src/common/common.h index 806212a..7089c17 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -5,3 +5,4 @@ struct blob load_file(char const *const name); int module_openmpt(struct blob *file, struct userdata *userdata); int module_fluidsynth(struct blob *file, struct userdata *userdata); +int module_organya(struct blob *file, struct userdata *userdata); |