mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
CueParser: Fix reading cuesheets with timecodes >60mins
This commit is contained in:
parent
d0de6a0aa9
commit
5556d8221b
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue