mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-09 18:59:02 +08:00
45 lines
1.2 KiB
Diff
45 lines
1.2 KiB
Diff
diff --git a/lite/src/format.c b/lite/src/format.c
|
|
--- a/src/format.c
|
|
+++ b/src/format.c
|
|
@@ -27,20 +27,20 @@
|
|
#endif
|
|
#include "format.h"
|
|
|
|
-extern const struct format_loader xm_loader;
|
|
-extern const struct format_loader mod_loader;
|
|
-extern const struct format_loader it_loader;
|
|
-extern const struct format_loader s3m_loader;
|
|
+extern const struct format_loader libxmp_loader_xm;
|
|
+extern const struct format_loader libxmp_loader_mod;
|
|
+extern const struct format_loader libxmp_loader_it;
|
|
+extern const struct format_loader libxmp_loader_s3m;
|
|
|
|
extern const struct pw_format *const pw_format[];
|
|
|
|
const struct format_loader *const format_loader[5] = {
|
|
- &xm_loader,
|
|
- &mod_loader,
|
|
+ &libxmp_loader_xm,
|
|
+ &libxmp_loader_mod,
|
|
#ifndef LIBXMP_CORE_DISABLE_IT
|
|
- &it_loader,
|
|
+ &libxmp_loader_it,
|
|
#endif
|
|
- &s3m_loader,
|
|
+ &libxmp_loader_s3m,
|
|
NULL
|
|
};
|
|
|
|
diff --git a/lite/src/loaders/mod_load.c b/lite/src/loaders/mod_load.c
|
|
--- a/src/loaders/mod_load.c
|
|
+++ b/src/loaders/mod_load.c
|
|
@@ -36,7 +36,7 @@
|
|
static int mod_test (HIO_HANDLE *, char *, const int);
|
|
static int mod_load (struct module_data *, HIO_HANDLE *, const int);
|
|
|
|
-const struct format_loader mod_loader = {
|
|
+const struct format_loader libxmp_loader_mod = {
|
|
"Protracker",
|
|
mod_test,
|
|
mod_load
|