decoder/gme: fix song duration
The unit of gme_info_t::length is milliseconds, not centiseconds.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user