summaryrefslogtreecommitdiffstats
path: root/apps/metadata/nsf.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata/nsf.c')
-rw-r--r--apps/metadata/nsf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/metadata/nsf.c b/apps/metadata/nsf.c
index abb4e6fd80..9207a14048 100644
--- a/apps/metadata/nsf.c
+++ b/apps/metadata/nsf.c
@@ -40,6 +40,9 @@ bool get_nsf_metadata(int fd, struct mp3entry* id3)
p = id3->id3v2buf;
+ /* Length */
+ id3->length = buf[6]*1000;
+
/* Title */
memcpy(p, &buf[14], 32);
id3->title = p;