Skip to content

Commit b4b4aac

Browse files
Fix wrong assert in xex.cpp.
1 parent de28409 commit b4b4aac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PowerUtils/xex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Image Xex2LoadImage(const uint8_t* data)
135135
// Decompress image
136136
if (compressionInfo != nullptr)
137137
{
138-
assert(compressionInfo->CompressionType >= XEX_COMPRESSION_BASIC);
138+
assert(compressionInfo->CompressionType <= XEX_COMPRESSION_BASIC);
139139
assert(compressionInfo->EncryptionType == XEX_ENCRYPTION_NONE);
140140

141141
if (compressionInfo->CompressionType == XEX_COMPRESSION_NONE)

0 commit comments

Comments
 (0)