COMMON: Added more debug output to installshield

This commit is contained in:
Eugene Sandulenko 2021-04-26 14:50:20 +02:00
parent 2c8ee74eb8
commit c1e18cbb90
No known key found for this signature in database
GPG key ID: 014D387312D34F08

View file

@ -90,8 +90,9 @@ InstallShieldCabinet::InstallShieldCabinet(SeekableReadStream *stream, DisposeAf
// cabinets. // cabinets.
// Check for the magic uint32 // Check for the magic uint32
if (_stream->readUint32LE() != 0x28635349) { uint32 magic = _stream->readUint32LE();
warning("InstallShieldCabinet::InstallShieldCabinet(): Magic ID doesn't match"); if (magic != 0x28635349) {
warning("InstallShieldCabinet::InstallShieldCabinet(): Magic ID doesn't match: expecting %x but got %x", 0x28635349, magic);
return; return;
} }