Skip to content

Commit

Permalink
fix KKP data being padded
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargaj committed Apr 6, 2024
1 parent 35b859f commit 3e3e8fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debuginfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ namespace rekkrunchy

for ( int x = 0; x < sourceSize; x++ )
{
#pragma pack(1)
struct ByteInfo
{
unsigned char data;
Expand All @@ -557,6 +558,7 @@ namespace rekkrunchy
short line;
short file;
} data;
#pragma pack()
data.data = sourceData[ x ];
data.symbol = symbolMap[ x ];
data.packed = packedSizeMap[ x ];
Expand Down

0 comments on commit 3e3e8fa

Please sign in to comment.