From 5aa2ebe6d58240e9a5d1be2935fe194c04a0106a Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Sun, 30 Jun 2019 19:50:58 -0400 Subject: [PATCH] cdrom: I/O always starts at the beginning of the file, and we translate those byte positions to start from the beginning MSF of the track anyway, so index should always be zero, fixes some audio playback issues --- libretro-common/cdrom/cdrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/cdrom/cdrom.c b/libretro-common/cdrom/cdrom.c index 742e59c420..0f1918e172 100644 --- a/libretro-common/cdrom/cdrom.c +++ b/libretro-common/cdrom/cdrom.c @@ -560,7 +560,7 @@ int cdrom_write_cue(libretro_vfs_implementation_file *stream, char **out_buf, si pos += snprintf(*out_buf + pos, len - pos, "FILE \"cdrom://drive%c-track%02d.bin\" BINARY\n", cdrom_drive, point); #endif pos += snprintf(*out_buf + pos, len - pos, " TRACK %02d %s\n", point, track_type); - pos += snprintf(*out_buf + pos, len - pos, " INDEX 01 %02d:%02d:%02d\n", pmin, psec, pframe); + pos += snprintf(*out_buf + pos, len - pos, " INDEX 01 00:00:00\n"); } }