CueParser: Fix reading cuesheets with timecodes >60mins

This commit is contained in:
Connor McLaughlin 2021-05-23 20:06:10 +10:00
parent d0de6a0aa9
commit 5556d8221b

View file

@ -122,7 +122,7 @@ std::optional<MSF> File::GetMSF(const std::string_view& token)
{ {
const u32 len = static_cast<u32>(token.length()); const u32 len = static_cast<u32>(token.length());
static const s32 max_values[] = {60, 60, 75}; static const s32 max_values[] = {std::numeric_limits<s32>::max(), 60, 75};
u32 parts[3] = {}; u32 parts[3] = {};
u32 part = 0; u32 part = 0;