Removed a bad behaving assert (some instruments have cc > 256...
This commit is contained in:
parent
d94456fd1c
commit
c71a7388c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue