decoder/gme: fix song duration

The unit of gme_info_t::length is milliseconds, not centiseconds.
This commit is contained in:
Max Kellermann
2014-08-29 23:03:29 +02:00
parent f06fe1ea98
commit 8b62127770
2 changed files with 2 additions and 1 deletions

View File

@@ -235,7 +235,7 @@ gme_scan_file(const char *path_fs,
if (ti->length > 0)
tag_handler_invoke_duration(handler, handler_ctx,
ti->length / 100);
ti->length / 1000);
if (ti->song != nullptr) {
if (gme_track_count(emu) > 1) {