Author: sagamusix
Date: Sun Jun 2 16:47:37 2024
New Revision: 20904
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20904
Log:
[Fix] PSM: Header probing was still too strict.
Modified:
trunk/OpenMPT/soundlib/Load_psm.cpp
Modified: trunk/OpenMPT/soundlib/Load_psm.cpp
==============================================================================
--- trunk/OpenMPT/soundlib/Load_psm.cpp Sun Jun 2 15:04:17 2024 (r20903)
+++ trunk/OpenMPT/soundlib/Load_psm.cpp Sun Jun 2 16:47:37 2024 (r20904)
@@ -257,15 +257,6 @@
{
return ProbeFailure;
}
- PSMChunk chunkHeader;
- if(!file.ReadStruct(chunkHeader))
- {
- return ProbeWantMoreData;
- }
- if(chunkHeader.length == 0)
- {
- return ProbeFailure;
- }
MPT_UNREFERENCED_PARAMETER(pfilesize);
return ProbeSuccess;
}
|