Removed a bad behaving assert (some instruments have cc > 256...

This commit is contained in:
Paul Fd 2020-02-20 19:10:49 +01:00
parent d94456fd1c
commit c71a7388c3

View file

@ -27,7 +27,7 @@ sfz::Opcode::Opcode(absl::string_view inputOpcode, absl::string_view inputValue)
hasBackParameter = (nextCharIndex == opcode.npos);
const auto numDigits = hasBackParameter ? opcode.npos : nextCharIndex - nextNumIndex;
if (absl::SimpleAtoi(opcode.substr(nextNumIndex, numDigits), &returnedValue)) {
ASSERT(returnedValue < std::numeric_limits<uint8_t>::max());
// ASSERT(returnedValue < std::numeric_limits<uint8_t>::max());
parameterPositions.push_back(parameterPosition);
parameters.push_back(returnedValue);
}