Author: sagamusix
Date: Wed Jun 5 21:56:27 2024
New Revision: 20932
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20932
Log:
[Fix] Remove sanity check covered by type limits. Instrument count is sanitized further down below anyway.
Modified:
trunk/OpenMPT/soundlib/Load_rtm.cpp
Modified: trunk/OpenMPT/soundlib/Load_rtm.cpp
==============================================================================
--- trunk/OpenMPT/soundlib/Load_rtm.cpp Wed Jun 5 21:44:08 2024 (r20931)
+++ trunk/OpenMPT/soundlib/Load_rtm.cpp Wed Jun 5 21:56:27 2024 (r20932)
@@ -59,7 +59,6 @@
bool IsValid() const
{
return numChannels > 0 && numChannels <= 32
- && numInstruments < MAX_INSTRUMENTS
&& numOrders <= 999
&& numPatterns <= 999
&& speed != 0
|