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.
// Check for the magic uint32
if (_stream->readUint32LE() != 0x28635349) {
warning("InstallShieldCabinet::InstallShieldCabinet(): Magic ID doesn't match");
uint32 magic = _stream->readUint32LE();
if (magic != 0x28635349) {
warning("InstallShieldCabinet::InstallShieldCabinet(): Magic ID doesn't match: expecting %x but got %x", 0x28635349, magic);
return;
}