From 5556d8221b2094e2aadf26539c88bbac2b78cbf5 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 23 May 2021 20:06:10 +1000 Subject: [PATCH] CueParser: Fix reading cuesheets with timecodes >60mins --- src/common/cue_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/cue_parser.cpp b/src/common/cue_parser.cpp index 72cdcd7ab..65041f505 100644 --- a/src/common/cue_parser.cpp +++ b/src/common/cue_parser.cpp @@ -122,7 +122,7 @@ std::optional File::GetMSF(const std::string_view& token) { const u32 len = static_cast(token.length()); - static const s32 max_values[] = {60, 60, 75}; + static const s32 max_values[] = {std::numeric_limits::max(), 60, 75}; u32 parts[3] = {}; u32 part = 0;