Skip to content

Commit

Permalink
fixed a bug in loading compressed xex files
Browse files Browse the repository at this point in the history
fixed a bug in loading compressed xex files
  • Loading branch information
zeroKilo committed Jun 25, 2024
1 parent 00a15ee commit 7b2f7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XEXLoaderWV/src/main/java/xexloaderwv/XEXHeader.java
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public void ReadPEImage(byte[] data) throws Exception
nextSize = br.readInt(0);
for(int i = 24; i < buff.length;)
{
len = br.readShort(i);
len = br.readUnsignedShort(i);
if(len == 0)
break;
for(int j = 0; j < len; j++)
Expand Down

0 comments on commit 7b2f7d4

Please sign in to comment.