summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/id3.h1
-rw-r--r--firmware/id3.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h
index 23f554df44..74b49635ba 100644
--- a/firmware/export/id3.h
+++ b/firmware/export/id3.h
@@ -47,6 +47,7 @@ enum
47 AFMT_SHN, /* Shorten */ 47 AFMT_SHN, /* Shorten */
48 AFMT_SID, /* SID File Format */ 48 AFMT_SID, /* SID File Format */
49 AFMT_ADX, /* ADX File Format */ 49 AFMT_ADX, /* ADX File Format */
50 AFMT_NSF, /* NESM (NES Sound Format) */
50#endif 51#endif
51 52
52 /* add new formats at any index above this line to have a sensible order - 53 /* add new formats at any index above this line to have a sensible order -
diff --git a/firmware/id3.c b/firmware/id3.c
index 3445bc2af1..4276db6027 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -98,6 +98,9 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] =
98 /* ADX File Format */ 98 /* ADX File Format */
99 [AFMT_ADX] = 99 [AFMT_ADX] =
100 AFMT_ENTRY("ADX", "adx", NULL, "adx\0" ), 100 AFMT_ENTRY("ADX", "adx", NULL, "adx\0" ),
101 /* NESM (NES Sound Format) */
102 [AFMT_NSF] =
103 AFMT_ENTRY("NSF", "nsf", NULL, "nsf\0nsfe\0" ),
101#endif 104#endif
102}; 105};
103 106